MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / clearRecordStack

Function clearRecordStack

src/jrd/vio.cpp:763–782  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

761
762
763inline void clearRecordStack(RecordStack& stack)
764{
765/**************************************
766 *
767 * c l e a r R e c o r d S t a c k
768 *
769 **************************************
770 *
771 * Functional description
772 * Clears stack, deleting each entry, popped from it.
773 *
774 **************************************/
775 while (stack.hasData())
776 {
777 Record* r = stack.pop();
778 // records from undo log must not be deleted
779 if (!r->isTempActive())
780 delete r;
781 }
782}
783
784inline bool needDfw(thread_db* tdbb, const jrd_tra* transaction)
785{

Callers 7

VIO_backoutFunction · 0.85
VIO_intermediate_gcFunction · 0.85
garbage_collectFunction · 0.85
VIO_garbage_collect_idxFunction · 0.85
list_staying_fastFunction · 0.85
list_stayingFunction · 0.85
VIO_update_in_placeFunction · 0.85

Calls 3

isTempActiveMethod · 0.80
hasDataMethod · 0.45
popMethod · 0.45

Tested by

no test coverage detected