8000
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 709d003 commit 90c0987Copy full SHA for 90c0987
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