RAII transactions
All checks were successful
Main LMDBAL workfow / Archlinux (push) Successful in 40s
All checks were successful
Main LMDBAL workfow / Archlinux (push) Successful in 40s
This commit is contained in:
parent
a9aa6b549f
commit
de741eda21
22 changed files with 689 additions and 222 deletions
|
@ -331,7 +331,7 @@ TEST_F(DuplicatesTest, Changing) {
|
|||
}
|
||||
|
||||
TEST_F(DuplicatesTest, GettingAllRecords) {
|
||||
LMDBAL::TransactionID txn = db->beginReadOnlyTransaction();
|
||||
LMDBAL::Transaction txn = db->beginReadOnlyTransaction();
|
||||
bool cycle;
|
||||
LMDBAL::SizeType iterations;
|
||||
|
||||
|
@ -462,6 +462,5 @@ TEST_F(DuplicatesTest, GettingAllRecords) {
|
|||
EXPECT_NE(iterations, 0);
|
||||
EXPECT_NE(k4.size(), 0);
|
||||
|
||||
|
||||
db->abortTransaction(txn);
|
||||
txn.terminate();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue