From aeb502346b73153992f491f638d084b7b506dde6 Mon Sep 17 00:00:00 2001 From: Neil Conway Date: Thu, 31 Mar 2005 02:02:52 +0000 Subject: Minor code cleanup: ExecHash() was returning a null TupleTableSlot, and an old comment in the code claimed that this was necessary. Since it is not actually necessary any more, it is clearer to remove the comment and just return NULL instead -- the return value of ExecHash() is not used. --- src/backend/executor/nodeHashjoin.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/backend/executor/nodeHashjoin.c') diff --git a/src/backend/executor/nodeHashjoin.c b/src/backend/executor/nodeHashjoin.c index 26d7bde3353..4811b7068eb 100644 --- a/src/backend/executor/nodeHashjoin.c +++ b/src/backend/executor/nodeHashjoin.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/executor/nodeHashjoin.c,v 1.69 2005/03/16 21:38:07 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/executor/nodeHashjoin.c,v 1.70 2005/03/31 02:02:52 neilc Exp $ * *------------------------------------------------------------------------- */ @@ -97,8 +97,7 @@ ExecHashJoin(HashJoinState *node) * outer tuple; so we can stop scanning the inner scan if we matched * on the previous try. */ - if (node->js.jointype == JOIN_IN && - node->hj_MatchedOuter) + if (node->js.jointype == JOIN_IN && node->hj_MatchedOuter) node->hj_NeedNewOuter = true; /* -- cgit v1.2.3