mdbx: MAX_MAPSIZE32 value has been reduced to 0x7f000000.

Change-Id: Ia45dd56621cd92441a45b8e80420a124cd111fdc
This commit is contained in:
Leonid Yuriev 2020-10-09 00:14:59 +03:00
parent 7ba13d8e72
commit 9bf7d53dc2

View File

@ -619,7 +619,7 @@ typedef struct MDBX_lockinfo {
#if defined(_WIN32) || defined(_WIN64)
#define MAX_MAPSIZE32 UINT32_C(0x38000000)
#else
#define MAX_MAPSIZE32 UINT32_C(0x7ff80000)
#define MAX_MAPSIZE32 UINT32_C(0x7f000000)
#endif
#define MAX_MAPSIZE64 (MAX_PAGENO * (uint64_t)MAX_PAGESIZE)