mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +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;
|
} GinStatsData;
|
||||||
|
|
||||||
/* ginlogic.c */
|
/* ginlogic.c */
|
||||||
enum
|
enum GinLogicValueEnum
|
||||||
{
|
{
|
||||||
GIN_FALSE = 0, /* item is present / matches */
|
GIN_FALSE = 0, /* item is not present / does not match */
|
||||||
GIN_TRUE = 1, /* 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
|
GIN_MAYBE = 2 /* don't know if item is present / don't know if
|
||||||
* matches */
|
* matches */
|
||||||
} GinLogicValueEnum;
|
};
|
||||||
|
|
||||||
typedef char GinLogicValue;
|
typedef char GinLogicValue;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user