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