mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-02 02:14:13 +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;
|
||||
}
|
||||
|
||||
mdbx_warning("unable growth datafile to %" PRIaPGNO
|
||||
" pages (+%" PRIaPGNO "), errcode %d",
|
||||
aligned, aligned - txn->mt_end_pgno, rc);
|
||||
mdbx_error("unable growth datafile to %" PRIaPGNO " pages (+%" PRIaPGNO
|
||||
"), errcode %d",
|
||||
aligned, aligned - txn->mt_end_pgno, rc);
|
||||
rc = (rc == MDBX_RESULT_TRUE) ? MDBX_MAP_FULL : rc;
|
||||
} else {
|
||||
mdbx_debug("gc-alloc: next %u > upper %u", next, txn->mt_geo.upper);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user