]> granicus.if.org Git - postgresql/commit
Repair bug noted by Paul Caskey: neqsel() has been generating a bogus
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 3 Aug 2000 00:58:22 +0000 (00:58 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 3 Aug 2000 00:58:22 +0000 (00:58 +0000)
commit1bd3a8f58bb8147628a85643b0246051a6e4e5ee
tree1732e24188528246a159fef150ac11498535ba98
parent463f1f5cdaecf229dcd1d3d16e969bf3a7aa9a73
Repair bug noted by Paul Caskey: neqsel() has been generating a bogus
result, in fact nearly the opposite of what it should, because it
was passing the not-equal operator to eqsel() which would use it to
compare the value against the most common value in the column, and
of course obtain the wrong result therefrom.  Must pass the equality
operator to eqsel() instead.  Fortunately that's easy to get from
the oprnegate link.
src/backend/utils/adt/selfuncs.c