mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +03:00
Avoid unused-variable warning in non-assert builds.
Oversight in my commit b9896198cfbc1b0cd0c631d2af72ffe34bd4c7e5.
This commit is contained in:
parent
7f3014dce5
commit
a5c29d37aa
@ -6037,10 +6037,9 @@ deconstruct_indexquals(IndexPath *path)
|
|||||||
}
|
}
|
||||||
else if (IsA(clause, NullTest))
|
else if (IsA(clause, NullTest))
|
||||||
{
|
{
|
||||||
NullTest *nt = (NullTest *) clause;
|
|
||||||
|
|
||||||
qinfo->clause_op = InvalidOid;
|
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->varonleft = true;
|
||||||
qinfo->other_operand = NULL;
|
qinfo->other_operand = NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user