Skip to content

Commit 09bb6f6

Browse files
committed
Fix silly mistake in expand_indexqual_rowcompare --- in converting a forboth()
into an iteration over three parallel lists, I had accidentally put the lnext steps outside the loop. Sigh. Per bug #3938.
1 parent b7fe5f7 commit 09bb6f6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/backend/optimizer/path/indxpath.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*
1111
* IDENTIFICATION
12-
* $PostgreSQL: pgsql/src/backend/optimizer/path/indxpath.c,v 1.226 2008/01/01 19:45:50 momjian Exp $
12+
* $PostgreSQL: pgsql/src/backend/optimizer/path/indxpath.c,v 1.227 2008/02/07 17:53:53 tgl Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -2619,9 +2619,9 @@ expand_indexqual_rowcompare(RestrictInfo *rinfo,
26192619
op_strategy, lefttype, righttype, opfam);
26202620
}
26212621
new_ops = lappend_oid(new_ops, expr_op);
2622+
lefttypes_cell = lnext(lefttypes_cell);
2623+
righttypes_cell = lnext(righttypes_cell);
26222624
}
2623-
lefttypes_cell = lnext(lefttypes_cell);
2624-
righttypes_cell = lnext(righttypes_cell);
26252625
}
26262626

26272627
/* If we have more than one matching col, create a subset rowcompare */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy