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

Method rollback

src/yvalve/why.cpp:5396–5412  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5394}
5395
5396void YTransaction::rollback(CheckStatusWrapper* status)
5397{
5398 try
5399 {
5400 YEntry<YTransaction> entry(status, this, CHECK_WARN_ZERO_HANDLE);
5401
5402 done(status, entry, this, [&]{
5403 entry.next()->rollback(status);
5404 if (isNetworkError(status))
5405 status->init();
5406 }, [&]{entry.next()->deprecatedRollback(status);});
5407 }
5408 catch (const Exception& e)
5409 {
5410 e.stuffException(status);
5411 }
5412}
5413
5414void YTransaction::rollbackRetaining(CheckStatusWrapper* status)
5415{

Callers 2

executeCreateDatabaseMethod · 0.45

Calls 6

doneFunction · 0.70
isNetworkErrorFunction · 0.70
nextMethod · 0.45
initMethod · 0.45
deprecatedRollbackMethod · 0.45
stuffExceptionMethod · 0.45

Tested by

no test coverage detected