MCPcopy Create free account
hub / github.com/LibrePCB/LibrePCB / commit

Method commit

libs/librepcb/core/sqlitedatabase.cpp:44–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44void SQLiteDatabase::TransactionScopeGuard::commit() {
45 mDb.commitTransaction(); // can throw
46 mIsCommitted = true;
47}
48
49SQLiteDatabase::TransactionScopeGuard::~TransactionScopeGuard() noexcept {
50 if (!mIsCommitted) {

Callers 5

commitTransactionMethod · 0.45
scanMethod · 0.45
updateLibrariesMethod · 0.45
finalizeRequestMethod · 0.45
writeFileMethod · 0.45

Calls 1

commitTransactionMethod · 0.80

Tested by

no test coverage detected