mirror of
https://github.com/isar/libmdbx.git
synced 2025-10-25 01:08:56 +08:00
mdbx: refine mdbx_env_set_geometry() internals and 16-bit representation of grow/shrink values.
More for https://github.com/erthink/libmdbx/issues/166. Change-Id: I7390f954819309ee4a01faf587aee6b5152e44bc
This commit is contained in:
@@ -1266,7 +1266,7 @@ static __maybe_unused __inline void mdbx_jitter4testing(bool tiny) {
|
||||
|
||||
/* Default size of memory map.
|
||||
* This is certainly too small for any actual applications. Apps should
|
||||
* always set the size explicitly using mdbx_env_set_mapsize(). */
|
||||
* always set the size explicitly using mdbx_env_set_geometry(). */
|
||||
#define DEFAULT_MAPSIZE MEGABYTE
|
||||
|
||||
/* Number of slots in the reader table.
|
||||
|
||||
Reference in New Issue
Block a user