Commit 86cf41ed authored by Heikki Linnakangas's avatar Heikki Linnakangas

Fix 'recheck' flag in tsquery's GIN tri-consistent function.

It needs to be initialized, like in the boolean gin_tsquery_consistent
version.

Peter Geoghegan.
parent fbc3def8
......@@ -308,6 +308,8 @@ gin_tsquery_triconsistent(PG_FUNCTION_ARGS)
bool recheck;
/* The query requires recheck only if it involves weights */
recheck = false;
if (query->size > 0)
{
QueryItem *item;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment