| 16 | TransactionContext::~TransactionContext() = default; |
| 17 | |
| 18 | void TransactionContext::beginReadTransaction() { |
| 19 | std::unique_lock lck{mtx}; |
| 20 | mode = TransactionMode::MANUAL; |
| 21 | beginTransactionInternal(TransactionType::READ_ONLY); |
| 22 | } |
| 23 | |
| 24 | void TransactionContext::beginWriteTransaction() { |
| 25 | std::unique_lock lck{mtx}; |
no outgoing calls
no test coverage detected