forked from blue/lmdbal
some transaction methods for cache, some more tests for transactions
This commit is contained in:
parent
150a0b0da9
commit
f99d5559cd
6 changed files with 571 additions and 15 deletions
|
@ -32,7 +32,7 @@ void LMDBAL::iStorage::drop() {
|
|||
ensureOpened(dropMethodName);
|
||||
|
||||
TransactionID txn = db->beginTransaction();
|
||||
int rc = drop(txn);
|
||||
int rc = iStorage::drop(txn);
|
||||
if (rc != MDB_SUCCESS) {
|
||||
abortTransaction(txn);
|
||||
throw Unknown(db->name, mdb_strerror(rc), name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue