MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / ~AutoSavePoint

Method ~AutoSavePoint

src/jrd/Savepoint.cpp:644–652  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

642}
643
644AutoSavePoint::~AutoSavePoint()
645{
646 if (m_number && !(m_tdbb->getDatabase()->dbb_flags & DBB_bugcheck))
647 {
648 fb_assert(m_transaction->tra_save_point);
649 fb_assert(m_transaction->tra_save_point->getNumber() == m_number);
650 m_transaction->rollbackSavepoint(m_tdbb);
651 }
652}
653
654void AutoSavePoint::release()
655{

Callers

nothing calls this directly

Calls 3

getDatabaseMethod · 0.80
getNumberMethod · 0.80
rollbackSavepointMethod · 0.45

Tested by

no test coverage detected