MCPcopy Create free account
hub / github.com/audacity/audacity / Commit

Method Commit

libraries/lib-sqlite-helpers/sqlite/Transaction.cpp:37–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37Error Transaction::Commit() noexcept
38{
39 if (mCommitted)
40 return {};
41
42 if (mBeginResult.IsError())
43 return mBeginResult;
44
45 return mHandler(mConnection, TransactionOperation::CommitOp, *this);
46}
47
48Error Transaction::Abort() noexcept
49{

Callers 1

ExecuteMethod · 0.45

Calls 1

IsErrorMethod · 0.80

Tested by

no test coverage detected