Commit 4e6eb4ac authored by Bruce Momjian's avatar Bruce Momjian

Remove un-needed psort close.

parent a292ed24
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/nodeMergejoin.c,v 1.17 1998/07/19 05:49:13 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/executor/nodeMergejoin.c,v 1.18 1998/07/19 10:05:19 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -354,23 +354,6 @@ ExecMergeTupleDump(ExprContext *econtext, MergeJoinState *mergestate) ...@@ -354,23 +354,6 @@ ExecMergeTupleDump(ExprContext *econtext, MergeJoinState *mergestate)
#endif #endif
static void
CleanUpSort(Plan *plan)
{
if (plan == NULL)
return;
if (plan->type == T_Sort)
{
Sort *sort = (Sort *) plan;
/* This may need to be fixed or moved somewhere else, bjm */
/* psort_end(sort); */
}
}
/* ---------------------------------------------------------------- /* ----------------------------------------------------------------
* ExecMergeJoin * ExecMergeJoin
* *
...@@ -665,8 +648,6 @@ ExecMergeJoin(MergeJoin *node) ...@@ -665,8 +648,6 @@ ExecMergeJoin(MergeJoin *node)
if (TupIsNull(outerTupleSlot)) if (TupIsNull(outerTupleSlot))
{ {
MJ_printf("ExecMergeJoin: **** outer tuple is nil ****\n"); MJ_printf("ExecMergeJoin: **** outer tuple is nil ****\n");
CleanUpSort(node->join.lefttree->lefttree);
CleanUpSort(node->join.righttree->lefttree);
return NULL; return NULL;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment