1
0
Fork 0
forked from blue/lmdbal

some transaction methods for cache, some more tests for transactions

This commit is contained in:
Blue 2023-04-05 02:27:31 +03:00
parent 150a0b0da9
commit f99d5559cd
Signed by untrusted user: blue
GPG key ID: 9B203B252A63EE38
6 changed files with 571 additions and 15 deletions

View file

@ -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);