mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
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.
This commit is contained in:
parent
dea6ed2c98
commit
4c0e97c2d5
@ -48,13 +48,13 @@ typedef struct GinStatsData
|
||||
} GinStatsData;
|
||||
|
||||
/* ginlogic.c */
|
||||
enum
|
||||
enum GinLogicValueEnum
|
||||
{
|
||||
GIN_FALSE = 0, /* item is present / matches */
|
||||
GIN_TRUE = 1, /* item is not present / does not match */
|
||||
GIN_FALSE = 0, /* item is not present / does not match */
|
||||
GIN_TRUE = 1, /* item is present / matches */
|
||||
GIN_MAYBE = 2 /* don't know if item is present / don't know if
|
||||
* matches */
|
||||
} GinLogicValueEnum;
|
||||
};
|
||||
|
||||
typedef char GinLogicValue;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user