mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-04 18:24:12 +08:00
mdbx: minor refine page_alloc (MIN_TXNID).
Change-Id: Iac20f79280e5b464b39f7ac5b1efe01585c5bf02
This commit is contained in:
parent
03a68e87ba
commit
36c7d7a435
@ -4073,7 +4073,7 @@ skip_cache:
|
|||||||
goto fail;
|
goto fail;
|
||||||
if (flags & MDBX_LIFORECLAIM) {
|
if (flags & MDBX_LIFORECLAIM) {
|
||||||
/* Begin from oldest reader if any */
|
/* Begin from oldest reader if any */
|
||||||
if (oldest > 2) {
|
if (oldest > MIN_TXNID) {
|
||||||
last = oldest - 1;
|
last = oldest - 1;
|
||||||
op = MDBX_SET_RANGE;
|
op = MDBX_SET_RANGE;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user