mdbx: fix comments typo.

Change-Id: Ieb8ee5d6d76457efbd54958fe9d894f752880520
This commit is contained in:
Leonid Yuriev 2018-08-26 13:11:07 +03:00 committed by Leo Yuriev
parent 8966a1773c
commit ee21afce1e
2 changed files with 2 additions and 2 deletions

2
mdbx.h
View File

@ -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 */

View File

@ -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) ||