diff options
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 |