From 06f8573f5f3085c027fd644bc44dc33c2a550657 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: Thu, 20 Mar 2025 17:07:36 +0300 Subject: [PATCH] =?UTF-8?q?mdbx:=20=D1=83=D1=81=D0=B8=D0=BB=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=BA=D0=BE=D0=BD=D1=82=D1=80=D0=BE=D0=BB=D1=8F?= =?UTF-8?q?=20=D1=81=D0=B8=D0=B3=D0=BD=D0=B0=D1=82=D1=83=D1=80=20=D0=BA?= =?UTF-8?q?=D1=83=D1=80=D1=81=D0=BE=D1=80=D0=BE=D0=B2.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/txn.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/txn.c b/src/txn.c index e2cc53f3..a61266f3 100644 --- a/src/txn.c +++ b/src/txn.c @@ -34,8 +34,10 @@ int txn_shadow_cursors(const MDBX_txn *parent, const size_t dbi) { MDBX_cursor *next = nullptr; do { next = cursor->next; - if (cursor->signature != cur_signature_live) + if (cursor->signature != cur_signature_live) { + ENSURE(parent->env, cursor->signature == cur_signature_wait4eot); continue; + } tASSERT(parent, cursor->txn == parent && dbi == cursor_dbi(cursor)); int err = cursor_shadow(cursor, txn, dbi);