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

Commitbeabea6

Browse files
committed
Fix usage of same ListCell transform_or_to_any()'s in nested loops
Discussion:https://postgr.es/m/CAAKRu_b4SXNW4GAM0bv3e6wcL5ODSXg1ZdRCn6uyLLjSPbveBg%40mail.gmail.comAuthor: Melanie Plageman
1 parent72bd38c commitbeabea6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/backend/optimizer/prep/prepqual.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -578,10 +578,11 @@ transform_or_to_any(List *orlist)
578578
HeapTupleopertup;
579579
Form_pg_operatoroperform;
580580
List*namelist=NIL;
581+
ListCell*lc2;
581582

582-
foreach(lc,entry->consts)
583+
foreach(lc2,entry->consts)
583584
{
584-
Node*node= (Node*)lfirst(lc);
585+
Node*node= (Node*)lfirst(lc2);
585586

586587
node=coerce_to_common_type(NULL,node,scalar_type,
587588
"OR ANY Transformation");

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp