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

Function ExecAppendReInitializeDSM

src/backend/executor/nodeAppend.c:542–549  ·  view source on GitHub ↗

---------------------------------------------------------------- * ExecAppendReInitializeDSM * * Reset shared state before beginning a fresh scan. * ---------------------------------------------------------------- */

Source from the content-addressed store, hash-verified

540 * ----------------------------------------------------------------
541 */
542void
543ExecAppendReInitializeDSM(AppendState *node, ParallelContext *pcxt)
544{
545 ParallelAppendState *pstate = node->as_pstate;
546
547 pstate->pa_next_plan = 0;
548 memset(pstate->pa_finished, 0, sizeof(bool) * node->as_nplans);
549}
550
551/* ----------------------------------------------------------------
552 * ExecAppendInitializeWorker

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected