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 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/ltree/_ltree_gist.c b/contrib/ltree/_ltree_gist.c index 84593deb97e..8b7420e6d9e 100644 --- a/contrib/ltree/_ltree_gist.c +++ b/contrib/ltree/_ltree_gist.c @@ -45,7 +45,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 ); AHASH( sign, hash ); cur = LEVEL_NEXT(cur); tlen--; @@ -455,7 +455,7 @@ gist_te(ltree_gist *key, ltree* query) { return true; while( qlen>0 ) { - hv = crc32_sz(curq->name,curq->len); + hv = ltree_crc32_sz(curq->name,curq->len); if ( ! GETBIT( sign, AHASHVAL(hv) ) ) return false; curq = LEVEL_NEXT(curq); @@ -475,7 +475,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 |