| 697 | } |
| 698 | |
| 699 | bool BerkeleyBatch::TxnBegin() |
| 700 | { |
| 701 | if (!pdb || activeTxn) |
| 702 | return false; |
| 703 | DbTxn* ptxn = env->TxnBegin(); |
| 704 | if (!ptxn) |
| 705 | return false; |
| 706 | activeTxn = ptxn; |
| 707 | return true; |
| 708 | } |
| 709 | |
| 710 | bool BerkeleyBatch::TxnCommit() |
| 711 | { |
no outgoing calls
no test coverage detected