mdbx: упрощение mdbx_txn_break().

This commit is contained in:
Леонид Юрьев (Leonid Yuriev) 2025-01-08 13:25:00 +03:00
parent 1e5fef2c76
commit 6fe7baa1b8

View File

@ -90,8 +90,6 @@ int mdbx_txn_break(MDBX_txn *txn) {
if (unlikely(rc != MDBX_SUCCESS))
return LOG_IFERR(rc);
txn->flags |= MDBX_TXN_ERROR;
if (txn->flags & MDBX_TXN_RDONLY)
break;
txn = txn->nested;
} while (txn);
return MDBX_SUCCESS;