From ee21afce1edcdc53a7a0917a23597dd72550eb52 Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Sun, 26 Aug 2018 13:11:07 +0300 Subject: [PATCH] mdbx: fix comments typo. Change-Id: Ieb8ee5d6d76457efbd54958fe9d894f752880520 --- mdbx.h | 2 +- src/mdbx.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mdbx.h b/mdbx.h index 44601662..c800e641 100644 --- a/mdbx.h +++ b/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 */ diff --git a/src/mdbx.c b/src/mdbx.c index f95b68c3..64dcbf4f 100644 --- a/src/mdbx.c +++ b/src/mdbx.c @@ -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) ||