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

Function ExecReScanMergeJoin

src/backend/executor/nodeMergejoin.c:1795–1815  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1793}
1794
1795void
1796ExecReScanMergeJoin(MergeJoinState *node)
1797{
1798 ExecClearTuple(node->mj_MarkedTupleSlot);
1799
1800 node->mj_JoinState = EXEC_MJ_INITIALIZE_OUTER;
1801 node->mj_MatchedOuter = false;
1802 node->mj_MatchedInner = false;
1803 node->mj_OuterTupleSlot = NULL;
1804 node->mj_InnerTupleSlot = NULL;
1805
1806 /*
1807 * if chgParam of subnodes is not null then plans will be re-scanned by
1808 * first ExecProcNode.
1809 */
1810 if (node->js.ps.lefttree->chgParam == NULL)
1811 ExecReScan(node->js.ps.lefttree);
1812 if (node->js.ps.righttree->chgParam == NULL)
1813 ExecReScan(node->js.ps.righttree);
1814
1815}

Callers 1

ExecReScanFunction · 0.85

Calls 2

ExecClearTupleFunction · 0.85
ExecReScanFunction · 0.85

Tested by

no test coverage detected