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

Commit0ee2603

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 parent13f4661 commit0ee2603

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)

[8]ページ先頭

©2009-2025 Movatter.jp