Skip to content

Commit 4c0e97c

Browse files
committed
Fix thinkos in GinLogicValue enum.
It was incorrectly declared as global variable, not an enum type, and the comments for GIN_FALSE and GIN_TRUE were backwards.
1 parent dea6ed2 commit 4c0e97c

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+
enum GinLogicValueEnum
5252
{
53-
GIN_FALSE = 0, /* item is present / matches */
54-
GIN_TRUE = 1, /* item is not present / does not match */
53+
GIN_FALSE = 0, /* item is not present / 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
typedef char GinLogicValue;
6060

0 commit comments

Comments
 (0)