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; }