1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-26 23:43:30 +03:00

Fix bug corrupting query in gist consistent function.

Thank to Mario Weilguni <mweilguni@sime.com> to discover a bug.
This commit is contained in:
Teodor Sigaev
2006-07-11 16:11:06 +00:00
parent 4587cd4280
commit 79aabd140d
3 changed files with 16 additions and 1 deletions

View File

@@ -609,6 +609,7 @@ gist_qe(ltree_gist * key, lquery * query)
curq = LQL_NEXT(curq);
qlen--;
}
PG_FREE_IF_COPY(query,1);
return true;
}