mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +03:00
Fixed very stupid but important bug: mixing calls of some founctions from
contrib/tsearch and contrib/ltree :) Teodor Sigaev
This commit is contained in:
@ -130,7 +130,7 @@ hashing(BITVECP sign, ltree *t) {
|
||||
int hash;
|
||||
|
||||
while(tlen > 0) {
|
||||
hash = crc32_sz( cur->name, cur->len );
|
||||
hash = ltree_crc32_sz( cur->name, cur->len );
|
||||
HASH( sign, hash );
|
||||
cur = LEVEL_NEXT(cur);
|
||||
tlen--;
|
||||
@ -511,7 +511,7 @@ gist_qtxt(ltree_gist *key, ltxtquery* query) {
|
||||
if ( LTG_ISALLTRUE(key) )
|
||||
return true;
|
||||
|
||||
return execute(
|
||||
return ltree_execute(
|
||||
GETQUERY(query),
|
||||
(void*)LTG_SIGN(key), false,
|
||||
checkcondition_bit
|
||||
|
Reference in New Issue
Block a user