diff options
author | Bruce Momjian | 2002-08-10 20:46:24 +0000 |
---|---|---|
committer | Bruce Momjian | 2002-08-10 20:46:24 +0000 |
commit | 87cfb8eb298061e081a4c4fa4647a9c6c557534f (patch) | |
tree | 65b265eadc5464bc6c7bec8756c488e2c180e388 /contrib/ltree/ltree_gist.c | |
parent | be2de3b9c83a3e5c1dcd497128487ce35f8d2f4d (diff) |
Fixed very stupid but important bug: mixing calls of some founctions from
contrib/tsearch and contrib/ltree :)
Teodor Sigaev
Diffstat (limited to 'contrib/ltree/ltree_gist.c')
-rw-r--r-- | contrib/ltree/ltree_gist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/ltree/ltree_gist.c b/contrib/ltree/ltree_gist.c index 024fd6acbe4..5a4c7bbf517 100644 --- a/contrib/ltree/ltree_gist.c +++ b/contrib/ltree/ltree_gist.c @@ -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 |