git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ad161bc)
Remove test for NULL node in ExecProcNode(). No place ever calls
Wed, 6 Apr 2005 20:13:49 +0000 (20:13 +0000)
Wed, 6 Apr 2005 20:13:49 +0000 (20:13 +0000)
ExecProcNode() with a NULL value, so the test couldn't do anything
for us except maybe mask bugs. Removing it probably doesn't save
anything much either, but then again this is a hot-spot routine.


diff --git a/src/backend/executor/execProcnode.c b/src/backend/executor/execProcnode.c
index 71b274530cfac23389926b6ed787b53b3565250e..ff8caf16f01233030b4f5e6ba2660538ffbc1099 100644 (file)
--- 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.47 2005年03月25日 21:57:58 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/executor/execProcnode.c,v 1.48 2005年04月06日 20:13:49 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -271,12 +271,6 @@ ExecProcNode(PlanState *node)
CHECK_FOR_INTERRUPTS();
- /*
- * deal with NULL nodes..
- */
- if (node == NULL)
- return NULL;
-
if (node->chgParam != NULL) /* something changed */
ExecReScan(node, NULL); /* let ReScan handle this */
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /