mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-04 17:34:14 +08:00
mdbx-tools: fix ENOMEM
for Windows (minor).
This commit is contained in:
parent
438bda3ee3
commit
8f51b6bac2
@ -588,7 +588,7 @@ static int process_db(MDBX_dbi dbi_handle, char *dbi_name, visitor *handler,
|
||||
: pagemap_lookup_dbi(dbi_name, true);
|
||||
if (!dbi) {
|
||||
error("too many DBIs or out of memory\n");
|
||||
return ENOMEM;
|
||||
return MDBX_ENOMEM;
|
||||
}
|
||||
const uint64_t subtotal_pages =
|
||||
ms.ms_branch_pages + ms.ms_leaf_pages + ms.ms_overflow_pages;
|
||||
|
Loading…
x
Reference in New Issue
Block a user