mirror of
https://github.com/postgres/postgres.git
synced 2025-05-02 11:44:50 +03:00
Fix usage of same ListCell transform_or_to_any()'s in nested loops
Discussion: https://postgr.es/m/CAAKRu_b4SXNW4GAM0bv3e6wcL5ODSXg1ZdRCn6uyLLjSPbveBg%40mail.gmail.com Author: Melanie Plageman
This commit is contained in:
parent
72bd38cc99
commit
beabea6c20
@ -578,10 +578,11 @@ transform_or_to_any(List *orlist)
|
|||||||
HeapTuple opertup;
|
HeapTuple opertup;
|
||||||
Form_pg_operator operform;
|
Form_pg_operator operform;
|
||||||
List *namelist = NIL;
|
List *namelist = NIL;
|
||||||
|
ListCell *lc2;
|
||||||
|
|
||||||
foreach(lc, entry->consts)
|
foreach(lc2, entry->consts)
|
||||||
{
|
{
|
||||||
Node *node = (Node *) lfirst(lc);
|
Node *node = (Node *) lfirst(lc2);
|
||||||
|
|
||||||
node = coerce_to_common_type(NULL, node, scalar_type,
|
node = coerce_to_common_type(NULL, node, scalar_type,
|
||||||
"OR ANY Transformation");
|
"OR ANY Transformation");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user