From 6fe7baa1b81be52a8111908347c9d252b1c93173 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9B=D0=B5=D0=BE=D0=BD=D0=B8=D0=B4=20=D0=AE=D1=80=D1=8C?= =?UTF-8?q?=D0=B5=D0=B2=20=28Leonid=20Yuriev=29?= Date: Wed, 8 Jan 2025 13:25:00 +0300 Subject: [PATCH] =?UTF-8?q?mdbx:=20=D1=83=D0=BF=D1=80=D0=BE=D1=89=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20`mdbx=5Ftxn=5Fbreak()`.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api-txn.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/api-txn.c b/src/api-txn.c index 08b2f467..e2ec98ed 100644 --- a/src/api-txn.c +++ b/src/api-txn.c @@ -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;