| 46 | } |
| 47 | |
| 48 | Error Transaction::Abort() noexcept |
| 49 | { |
| 50 | if (mCommitted) |
| 51 | return {}; |
| 52 | |
| 53 | if (mBeginResult.IsError()) |
| 54 | return mBeginResult; |
| 55 | |
| 56 | return mHandler(mConnection, TransactionOperation::RollbackOp, *this); |
| 57 | } |
| 58 | } // namespace audacity::sqlite |
no test coverage detected