MCPcopy Create free account
hub / github.com/apache/cloudberry / ExecEndMergeJoin

Function ExecEndMergeJoin

src/backend/executor/nodeMergejoin.c:1768–1793  ·  view source on GitHub ↗

---------------------------------------------------------------- * ExecEndMergeJoin * * old comments * frees storage allocated through C routines. * ---------------------------------------------------------------- */

Source from the content-addressed store, hash-verified

1766 * ----------------------------------------------------------------
1767 */
1768void
1769ExecEndMergeJoin(MergeJoinState *node)
1770{
1771 MJ1_printf("ExecEndMergeJoin: %s\n",
1772 "ending node processing");
1773
1774 /*
1775 * Free the exprcontext
1776 */
1777 ExecFreeExprContext(&node->js.ps);
1778
1779 /*
1780 * clean out the tuple table
1781 */
1782 ExecClearTuple(node->js.ps.ps_ResultTupleSlot);
1783 ExecClearTuple(node->mj_MarkedTupleSlot);
1784
1785 /*
1786 * shut down the subplans
1787 */
1788 ExecEndNode(innerPlanState(node));
1789 ExecEndNode(outerPlanState(node));
1790
1791 MJ1_printf("ExecEndMergeJoin: %s\n",
1792 "node processing ended");
1793}
1794
1795void
1796ExecReScanMergeJoin(MergeJoinState *node)

Callers 1

ExecEndNodeFunction · 0.85

Calls 3

ExecFreeExprContextFunction · 0.85
ExecClearTupleFunction · 0.85
ExecEndNodeFunction · 0.85

Tested by

no test coverage detected