mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Fix mixup of bool and ternary value
Not currently a problem, but could be with stricter bool behavior under stdbool or C++. Reviewed-by: Andres Freund <andres@anarazel.de>
This commit is contained in:
@ -147,7 +147,7 @@ ginFillScanKey(GinScanOpaque so, OffsetNumber attnum,
|
||||
key->nuserentries = nUserQueryValues;
|
||||
|
||||
key->scanEntry = (GinScanEntry *) palloc(sizeof(GinScanEntry) * nQueryValues);
|
||||
key->entryRes = (bool *) palloc0(sizeof(bool) * nQueryValues);
|
||||
key->entryRes = (GinTernaryValue *) palloc0(sizeof(GinTernaryValue) * nQueryValues);
|
||||
|
||||
key->query = query;
|
||||
key->queryValues = queryValues;
|
||||
|
Reference in New Issue
Block a user