diff --git a/src/core.c b/src/core.c index f0db843b..cfbcca11 100644 --- a/src/core.c +++ b/src/core.c @@ -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;