mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03: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:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user