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

Commit4c0e97c

Browse files
committed
Fix thinkos in GinLogicValue enum.
It was incorrectly declared as global variable, not an enum type, andthe comments for GIN_FALSE and GIN_TRUE were backwards.
1 parentdea6ed2 commit4c0e97c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎src/include/access/gin.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ typedef struct GinStatsData
4848
}GinStatsData;
4949

5050
/* ginlogic.c */
51-
enum
51+
enumGinLogicValueEnum
5252
{
53-
GIN_FALSE=0,/* item is present /matches */
54-
GIN_TRUE=1,/* item isnotpresent /does not match */
53+
GIN_FALSE=0,/* item isnotpresent /does not match */
54+
GIN_TRUE=1,/* item is present /matches */
5555
GIN_MAYBE=2/* don't know if item is present / don't know if
5656
* matches */
57-
}GinLogicValueEnum;
57+
};
5858

5959
typedefcharGinLogicValue;
6060

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp