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

Function tts_minimal_clear

src/backend/executor/execTuples.c:503–519  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

501}
502
503static void
504tts_minimal_clear(TupleTableSlot *slot)
505{
506 MinimalTupleTableSlot *mslot = (MinimalTupleTableSlot *) slot;
507
508 if (TTS_SHOULDFREE(slot))
509 {
510 heap_free_minimal_tuple(mslot->mintuple);
511 slot->tts_flags &= ~TTS_FLAG_SHOULDFREE;
512 }
513
514 slot->tts_nvalid = 0;
515 slot->tts_flags |= TTS_FLAG_EMPTY;
516 ItemPointerSetInvalid(&slot->tts_tid);
517 mslot->off = 0;
518 mslot->mintuple = NULL;
519}
520
521static void
522tts_minimal_getsomeattrs(TupleTableSlot *slot, int natts)

Callers 1

tts_minimal_store_tupleFunction · 0.85

Calls 1

heap_free_minimal_tupleFunction · 0.85

Tested by

no test coverage detected