From 3704433aa9ccd08be779b17a56172f0583f7d203 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, 10 Nov 2022 16:34:23 +0300 Subject: [PATCH] =?UTF-8?q?mdbx:=20=D0=BC=D0=B8=D0=BD=D0=BE=D1=80=D0=BD?= =?UTF-8?q?=D0=BE=D0=B5=20=D1=83=D0=B4=D0=B0=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5?= =?UTF-8?q?=20=D0=BC=D0=B5=D1=80=D1=82=D0=B2=D0=BE=D0=B3=D0=BE/=D0=BD?= =?UTF-8?q?=D0=B5=D0=BD=D1=83=D0=B6=D0=BD=D0=BE=D0=B3=D0=BE=20=D0=BA=D0=BE?= =?UTF-8?q?=D0=B4=D0=B0=20=D0=B8=D0=B7=20`page=5Falloc=5Fslowpath()`.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/core.c b/src/core.c index 00f1b46d..cbb94b47 100644 --- a/src/core.c +++ b/src/core.c @@ -6660,9 +6660,6 @@ static pgr_t page_alloc_slowpath(const MDBX_cursor *mc, const size_t num, eASSERT(env, MDBX_PNL_LAST(txn->tw.relist) < txn->mt_next_pgno && MDBX_PNL_FIRST(txn->tw.relist) < txn->mt_next_pgno); range = txn->tw.relist + (MDBX_PNL_ASCENDING ? 1 : re_len); - pgno = *range; - if (num == 1) - goto done; range = scan4seq(range, re_len, num - 1); eASSERT(env, range == scan4range_checker(txn->tw.relist, num - 1)); if (likely(range)) {