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

Function ExecEndWorkTableScan

src/backend/executor/nodeWorktablescan.c:193–207  ·  view source on GitHub ↗

---------------------------------------------------------------- * ExecEndWorkTableScan * * frees any storage allocated through C routines. * ---------------------------------------------------------------- */

Source from the content-addressed store, hash-verified

191 * ----------------------------------------------------------------
192 */
193void
194ExecEndWorkTableScan(WorkTableScanState *node)
195{
196 /*
197 * Free exprcontext
198 */
199 ExecFreeExprContext(&node->ss.ps);
200
201 /*
202 * clean out the tuple table
203 */
204 if (node->ss.ps.ps_ResultTupleSlot)
205 ExecClearTuple(node->ss.ps.ps_ResultTupleSlot);
206 ExecClearTuple(node->ss.ss_ScanTupleSlot);
207}
208
209/* ----------------------------------------------------------------
210 * ExecReScanWorkTableScan

Callers 1

ExecEndNodeFunction · 0.85

Calls 2

ExecFreeExprContextFunction · 0.85
ExecClearTupleFunction · 0.85

Tested by

no test coverage detected