mdbx: set MDBX_MIN_PAGESIZE to 256 (useful for testing).

Change-Id: Ie7f0b68ef7b21bb2f02267752555e2d0e853fcbe
This commit is contained in:
Leonid Yuriev
2019-10-29 18:54:03 +03:00
parent 582fdd7ed2
commit 55395820e3
2 changed files with 3 additions and 3 deletions

View File

@@ -659,8 +659,8 @@ typedef struct MDBX_lockinfo {
* demand-pager to read our data and page it out when memory
* pressure from other processes is high. So until OSs have
* actual paging support for Huge pages, they're not viable. */
#define MAX_PAGESIZE 0x10000
#define MIN_PAGESIZE 256
#define MAX_PAGESIZE MDBX_MAX_PAGESIZE
#define MIN_PAGESIZE MDBX_MIN_PAGESIZE
#define MIN_MAPSIZE (MIN_PAGESIZE * MIN_PAGENO)
#if defined(_WIN32) || defined(_WIN64)