Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3e805fd

Browse files
committed
Fix typo in typecasting.
patch from ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>
1 parente8e2bd7 commit3e805fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/utils/adt/tsrank.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $PostgreSQL: pgsql/src/backend/utils/adt/tsrank.c,v 1.6 2007/09/11 16:01:40 teodor Exp $
10+
* $PostgreSQL: pgsql/src/backend/utils/adt/tsrank.c,v 1.7 2007/09/13 06:54:35 teodor Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -707,7 +707,7 @@ calc_rank_cd(float4 *arrdata, TSVector txt, TSQuery query, int method)
707707
}
708708

709709
qr.query=query;
710-
qr.operandexist= (int*)palloc0(sizeof(bool)*query->size);
710+
qr.operandexist= (bool*)palloc0(sizeof(bool)*query->size);
711711

712712
doc=get_docrep(txt,&qr,&doclen);
713713
if (!doc)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp