mirror of
https://github.com/zebrajr/postgres.git
synced 2025-12-07 12:20:31 +01:00
Avoid unused-variable warning in non-assert builds.
Oversight in my commit b9896198cf.
This commit is contained in:
parent
7f3014dce5
commit
a5c29d37aa
|
|
@ -6037,10 +6037,9 @@ deconstruct_indexquals(IndexPath *path)
|
|||
}
|
||||
else if (IsA(clause, NullTest))
|
||||
{
|
||||
NullTest *nt = (NullTest *) clause;
|
||||
|
||||
qinfo->clause_op = InvalidOid;
|
||||
Assert(match_index_to_operand((Node *) nt->arg, indexcol, index));
|
||||
Assert(match_index_to_operand((Node *) ((NullTest *) clause)->arg,
|
||||
indexcol, index));
|
||||
qinfo->varonleft = true;
|
||||
qinfo->other_operand = NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user