mdbx-testing: исправление опечатки в keygen-setup.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev) 2024-05-22 21:23:43 +03:00
parent e12b4ab748
commit 8e29fb1f26
2 changed files with 3 additions and 3 deletions

View File

@ -266,7 +266,7 @@ void maker::setup(const config::actor_params_pod &actor,
value_essentials.bits - essentials::value_age_minwidth ||
mapping.split >= mapping.width)
mapping.split -= 1;
if (split != mapping.width)
if (split != mapping.split)
log_notice("keygen: reduce mapping-split from %u to %u", split,
mapping.split);

View File

@ -101,9 +101,9 @@ class maker {
uint16_t flags{0};
uint32_t maxlen{0};
serial_t mask{0};
unsigned bits;
unsigned bits{0};
} key_essentials, value_essentials;
unsigned value_age_bits;
unsigned value_age_bits{0};
serial_t value_age_mask{0};
static serial_t mk_begin(serial_t serial, const essentials &params,