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

Method clearTransactions

src/jrd/extds/ExtDS.cpp:736–751  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

734}
735
736void Connection::clearTransactions(Jrd::thread_db* tdbb)
737{
738 while (m_transactions.getCount())
739 {
740 Transaction* tran = m_transactions[0];
741 try
742 {
743 tran->rollback(tdbb, false);
744 }
745 catch (const Exception&)
746 {
747 if (!m_deleting)
748 throw;
749 }
750 }
751}
752
753void Connection::clearStatements(thread_db* tdbb)
754{

Callers

nothing calls this directly

Calls 2

getCountMethod · 0.45
rollbackMethod · 0.45

Tested by

no test coverage detected