Content-Length: 280029 | pFad | http://github.com/postgrespro/postgres/commit/09bb6f6ed0265f236e457718625a1730ab5f8ff3

16 Fix silly mistake in expand_indexqual_rowcompare --- in converting a … · postgrespro/postgres@09bb6f6 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/09bb6f6ed0265f236e457718625a1730ab5f8ff3

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy