mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-02 00:04:12 +08:00
mdbx: fix comments typo.
Change-Id: Ieb8ee5d6d76457efbd54958fe9d894f752880520
This commit is contained in:
parent
8966a1773c
commit
ee21afce1e
2
mdbx.h
2
mdbx.h
@ -488,7 +488,7 @@ typedef struct MDBX_envinfo {
|
||||
uint64_t lower; /* lower limit for datafile size */
|
||||
uint64_t upper; /* upper limit for datafile size */
|
||||
uint64_t current; /* current datafile size */
|
||||
uint64_t shrink; /* shrink theshold for datafile */
|
||||
uint64_t shrink; /* shrink threshold for datafile */
|
||||
uint64_t grow; /* growth step for datafile */
|
||||
} mi_geo;
|
||||
uint64_t mi_mapsize; /* Size of the data memory map */
|
||||
|
@ -5529,7 +5529,7 @@ static int __cold mdbx_setup_dxb(MDBX_env *env, int lck_rc) {
|
||||
|
||||
/* apply preconfigured params, but only if substantial changes:
|
||||
* - upper or lower limit changes
|
||||
* - shrink theshold or growth step
|
||||
* - shrink threshold or growth step
|
||||
* But ignore just chagne just a 'now/current' size. */
|
||||
if (bytes_align2os_bytes(env, env->me_dbgeo.upper) !=
|
||||
pgno_align2os_bytes(env, meta.mm_geo.upper) ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user