Location via proxy:
[ UP ]
[Report a bug]
[Manage cookies]
No cookies
No scripts
No ads
No referrer
Show this form
projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f3014d
)
Avoid unused-variable warning in non-assert builds.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Thu, 5 Mar 2015 03:00:36 +0000
(22:00 -0500)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Thu, 5 Mar 2015 03:00:36 +0000
(22:00 -0500)
Oversight in my commit
b9896198cfbc1b0cd0c631d2af72ffe34bd4c7e5
.
src/backend/utils/adt/selfuncs.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/utils/adt/selfuncs.c
b/src/backend/utils/adt/selfuncs.c
index c74ac9707a259be539e289e1dd78146a73c6bc9d..4dd3f9fbce1679a38a4a15288cfe7a7e97ff7443 100644
(file)
--- a/
src/backend/utils/adt/selfuncs.c
+++ b/
src/backend/utils/adt/selfuncs.c
@@
-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;
}