| 708 | } |
| 709 | |
| 710 | bool BerkeleyBatch::TxnCommit() |
| 711 | { |
| 712 | if (!pdb || !activeTxn) |
| 713 | return false; |
| 714 | int ret = activeTxn->commit(0); |
| 715 | activeTxn = nullptr; |
| 716 | return (ret == 0); |
| 717 | } |
| 718 | |
| 719 | bool BerkeleyBatch::TxnAbort() |
| 720 | { |
no outgoing calls
no test coverage detected