mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-04 18:24:12 +08:00
mdbx: fix MDBX_RESULT_TRUE from page_alloc().
Change-Id: Ib285e98f967b9aefac8facfba31618a80c5e8129
This commit is contained in:
parent
66f3c0a77e
commit
6fa79d49b4
@ -4353,9 +4353,10 @@ skip_cache:
|
|||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
mdbx_warning("unable growth datafile to %" PRIaPGNO
|
mdbx_error("unable growth datafile to %" PRIaPGNO " pages (+%" PRIaPGNO
|
||||||
" pages (+%" PRIaPGNO "), errcode %d",
|
"), errcode %d",
|
||||||
aligned, aligned - txn->mt_end_pgno, rc);
|
aligned, aligned - txn->mt_end_pgno, rc);
|
||||||
|
rc = (rc == MDBX_RESULT_TRUE) ? MDBX_MAP_FULL : rc;
|
||||||
} else {
|
} else {
|
||||||
mdbx_debug("gc-alloc: next %u > upper %u", next, txn->mt_geo.upper);
|
mdbx_debug("gc-alloc: next %u > upper %u", next, txn->mt_geo.upper);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user