diff --git a/src/backend/executor/execProcnode.c b/src/backend/executor/execProcnode.c index 49a8018fc8d1575765d2552a5c69353d79e86aad..4a50c4bc9096c2cb6fbcd450f23adf0396cde760 100644 --- a/src/backend/executor/execProcnode.c +++ b/src/backend/executor/execProcnode.c @@ -12,7 +12,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/executor/execProcnode.c,v 1.41 2003/11/29 19:51:48 pgsql Exp $ + * $PostgreSQL: pgsql/src/backend/executor/execProcnode.c,v 1.42 2004/03/02 22:17:34 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -242,16 +242,13 @@ ExecInitNode(Plan *node, EState *estate) * do this after initializing initPlans, in case their arguments * contain subPlans (is that actually possible? perhaps not). */ - subps = NIL; foreach(subp, result->subPlan) { SubPlanState *sstate = (SubPlanState *) lfirst(subp); Assert(IsA(sstate, SubPlanState)); ExecInitSubPlan(sstate, estate); - subps = lappend(subps, sstate); } - result->subPlan = subps; /* Set up instrumentation for this node if requested */ if (estate->es_instrument)