mdbx: minor refine page_alloc (MIN_TXNID).

Change-Id: Iac20f79280e5b464b39f7ac5b1efe01585c5bf02
This commit is contained in:
Leonid Yuriev 2019-12-26 20:18:32 +03:00
parent 03a68e87ba
commit 36c7d7a435

View File

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