mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Fix typo in typecasting.
patch from ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>
This commit is contained in:
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $PostgreSQL: pgsql/src/backend/utils/adt/tsrank.c,v 1.6 2007/09/11 16:01:40 teodor Exp $
|
* $PostgreSQL: pgsql/src/backend/utils/adt/tsrank.c,v 1.7 2007/09/13 06:54:35 teodor Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -707,7 +707,7 @@ calc_rank_cd(float4 *arrdata, TSVector txt, TSQuery query, int method)
|
|||||||
}
|
}
|
||||||
|
|
||||||
qr.query = query;
|
qr.query = query;
|
||||||
qr.operandexist = (int*)palloc0(sizeof(bool) * query->size);
|
qr.operandexist = (bool*)palloc0(sizeof(bool) * query->size);
|
||||||
|
|
||||||
doc = get_docrep(txt, &qr, &doclen);
|
doc = get_docrep(txt, &qr, &doclen);
|
||||||
if (!doc)
|
if (!doc)
|
||||||
|
Reference in New Issue
Block a user