From 36c7d7a43597c8c1c30551da9b322abee1cd2532 Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Thu, 26 Dec 2019 20:18:32 +0300 Subject: [PATCH] mdbx: minor refine page_alloc (MIN_TXNID). Change-Id: Iac20f79280e5b464b39f7ac5b1efe01585c5bf02 --- src/elements/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/elements/core.c b/src/elements/core.c index fd252e8f..0f96fac6 100644 --- a/src/elements/core.c +++ b/src/elements/core.c @@ -4073,7 +4073,7 @@ skip_cache: goto fail; if (flags & MDBX_LIFORECLAIM) { /* Begin from oldest reader if any */ - if (oldest > 2) { + if (oldest > MIN_TXNID) { last = oldest - 1; op = MDBX_SET_RANGE; }