Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17822c0 commit 8728552Copy full SHA for 8728552
src/backend/access/spgist/spgscan.c
@@ -56,7 +56,7 @@ pairingheap_SpGistSearchItem_cmp(const pairingheap_node *a,
56
else
57
{
58
/* Order according to distance comparison */
59
- for (i = 0; i < so->numberOfOrderBys; i++)
+ for (i = 0; i < so->numberOfNonNullOrderBys; i++)
60
61
if (isnan(sa->distances[i]) && isnan(sb->distances[i]))
62
continue; /* NaN == NaN */
0 commit comments