Skip to content

Commit 0ee2603

Browse files
committed
Remove useless rebuilding of subPlan list during ExecInitNode. Wouldn't
have been there to start with, except for overly enthusiastic copy-and- paste ...
1 parent 13f4661 commit 0ee2603

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/backend/executor/execProcnode.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
*
1414
* IDENTIFICATION
15-
* $PostgreSQL: pgsql/src/backend/executor/execProcnode.c,v 1.41 2003/11/29 19:51:48 pgsql Exp $
15+
* $PostgreSQL: pgsql/src/backend/executor/execProcnode.c,v 1.42 2004/03/02 22:17:34 tgl Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -242,16 +242,13 @@ ExecInitNode(Plan *node, EState *estate)
242242
* do this after initializing initPlans, in case their arguments
243243
* contain subPlans (is that actually possible? perhaps not).
244244
*/
245-
subps = NIL;
246245
foreach(subp, result->subPlan)
247246
{
248247
SubPlanState *sstate = (SubPlanState *) lfirst(subp);
249248

250249
Assert(IsA(sstate, SubPlanState));
251250
ExecInitSubPlan(sstate, estate);
252-
subps = lappend(subps, sstate);
253251
}
254-
result->subPlan = subps;
255252

256253
/* Set up instrumentation for this node if requested */
257254
if (estate->es_instrument)

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