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

Function ExecInitResultSlot

src/backend/executor/execTuples.c:1795–1807  ·  view source on GitHub ↗

---------------- * ExecInitResultTupleSlotTL * * Initialize result tuple slot, using the tuple descriptor previously * computed with ExecInitResultTypeTL(). * ---------------- */

Source from the content-addressed store, hash-verified

1793 * ----------------
1794 */
1795void
1796ExecInitResultSlot(PlanState *planstate, const TupleTableSlotOps *tts_ops)
1797{
1798 TupleTableSlot *slot;
1799
1800 slot = ExecAllocTableSlot(&planstate->state->es_tupleTable,
1801 planstate->ps_ResultTupleDesc, tts_ops);
1802 planstate->ps_ResultTupleSlot = slot;
1803
1804 planstate->resultopsfixed = planstate->ps_ResultTupleDesc != NULL;
1805 planstate->resultops = tts_ops;
1806 planstate->resultopsset = true;
1807}
1808
1809/* ----------------
1810 * ExecInitResultTupleSlotTL

Callers 2

Calls 1

ExecAllocTableSlotFunction · 0.85

Tested by

no test coverage detected