mirror of
https://github.com/isar/libmdbx.git
synced 2025-10-18 22:09:03 +08:00
mdbx: set MDBX_MIN_PAGESIZE to 256 (useful for testing).
Change-Id: Ie7f0b68ef7b21bb2f02267752555e2d0e853fcbe
This commit is contained in:
2
mdbx.h
2
mdbx.h
@@ -2040,7 +2040,7 @@ LIBMDBX_API int mdbx_is_readahead_reasonable(size_t volume,
|
||||
intptr_t redundancy);
|
||||
|
||||
/* The minimal database page size in bytes. */
|
||||
#define MDBX_MIN_PAGESIZE 512
|
||||
#define MDBX_MIN_PAGESIZE 256
|
||||
__inline intptr_t mdbx_limits_pgsize_min(void) { return MDBX_MIN_PAGESIZE; }
|
||||
|
||||
/* The maximal database page size in bytes. */
|
||||
|
Reference in New Issue
Block a user