Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit09bb6f6

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 lnextsteps outside the loop. Sigh. Per bug #3938.
1 parentb7fe5f7 commit09bb6f6

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)

[8]ページ先頭

©2009-2025 Movatter.jp