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

Method doCommit

src/jrd/extds/IscDS.cpp:392–402  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

390}
391
392void IscTransaction::doCommit(FbStatusVector* status, thread_db* tdbb, bool retain)
393{
394 EngineCallbackGuard guard(tdbb, *this, FB_FUNCTION);
395 if (retain)
396 m_iscProvider.isc_commit_retaining(status, &m_handle);
397 else
398 m_iscProvider.isc_commit_transaction(status, &m_handle);
399
400 fb_assert(retain && m_handle || !retain && !m_handle ||
401 (status->getState() & IStatus::STATE_ERRORS) && m_handle);
402}
403
404void IscTransaction::doRollback(FbStatusVector* status, thread_db* tdbb, bool retain)
405{

Callers

nothing calls this directly

Calls 3

isc_commit_retainingMethod · 0.80
getStateMethod · 0.45

Tested by

no test coverage detected