1
0
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:
Heikki Linnakangas
2014-03-21 23:41:37 +01:00
parent dea6ed2c98
commit 4c0e97c2d5

View File

@ -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;