mdbx: backport - fix comments typos (squashed).

This commit is contained in:
Leonid Yuriev
2018-08-19 02:04:44 +03:00
parent bc6db4e4d7
commit 888003c072
4 changed files with 7 additions and 7 deletions

View File

@@ -408,7 +408,7 @@ typedef struct MDBX_lockinfo {
volatile uint32_t mti_envmode;
#ifdef MDBX_OSAL_LOCK
/* Mutex protecting write access to this table. */
/* Mutex protecting write-txn. */
union {
MDBX_OSAL_LOCK mti_wmutex;
uint8_t pad_mti_wmutex[MDBX_OSAL_LOCK_SIZE % sizeof(size_t)];

View File

@@ -5391,7 +5391,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) ||