mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-02 00:24:13 +08:00
mdbx: allow mdbx_dbi_flags_ex()
for errored transactions.
This commit is contained in:
parent
f4cc7b3609
commit
3e28cc2a25
@ -20168,7 +20168,7 @@ int mdbx_dbi_close(MDBX_env *env, MDBX_dbi dbi) {
|
||||
|
||||
int mdbx_dbi_flags_ex(MDBX_txn *txn, MDBX_dbi dbi, unsigned *flags,
|
||||
unsigned *state) {
|
||||
int rc = check_txn(txn, MDBX_TXN_BLOCKED);
|
||||
int rc = check_txn(txn, MDBX_TXN_BLOCKED & ~MDBX_TXN_ERROR);
|
||||
if (unlikely(rc != MDBX_SUCCESS))
|
||||
return rc;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user