From 9f0e2ecc6787068d3a96dac59e15f81ec9694947 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: Fri, 12 Aug 2022 20:19:31 +0300 Subject: [PATCH] mdbx: fix variable name typo. --- src/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core.c b/src/core.c index 0dc38fba..4e2fd053 100644 --- a/src/core.c +++ b/src/core.c @@ -12438,7 +12438,7 @@ __cold static int mdbx_setup_dxb(MDBX_env *env, const int lck_rc, } else { const txnid_t txnid = constmeta_txnid(env, head); const txnid_t next_txnid = safe64_txnid_next(txnid); - if (unlikely(txnid > MAX_TXNID)) { + if (unlikely(next_txnid > MAX_TXNID)) { mdbx_error("txnid overflow, raise %d", MDBX_TXN_FULL); return MDBX_TXN_FULL; }