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

Commita6bbfed

Browse files
committed
Remove test for NULL node in ExecProcNode(). No place ever calls
ExecProcNode() with a NULL value, so the test couldn't do anythingfor us except maybe mask bugs. Removing it probably doesn't saveanything much either, but then again this is a hot-spot routine.
1 parentad161bc commita6bbfed

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

‎src/backend/executor/execProcnode.c

Lines changed: 1 addition & 7 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.47 2005/03/25 21:57:58 tgl Exp $
15+
* $PostgreSQL: pgsql/src/backend/executor/execProcnode.c,v 1.48 2005/04/06 20:13:49 tgl Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -271,12 +271,6 @@ ExecProcNode(PlanState *node)
271271

272272
CHECK_FOR_INTERRUPTS();
273273

274-
/*
275-
* deal with NULL nodes..
276-
*/
277-
if (node==NULL)
278-
returnNULL;
279-
280274
if (node->chgParam!=NULL)/* something changed */
281275
ExecReScan(node,NULL);/* let ReScan handle this */
282276

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp