From 8e29fb1f26fc8f883808c8d0468f2d8549283cd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9B=D0=B5=D0=BE=D0=BD=D0=B8=D0=B4=20=D0=AE=D1=80=D1=8C?= =?UTF-8?q?=D0=B5=D0=B2=20=28Leonid=20Yuriev=29?= Date: Wed, 22 May 2024 21:23:43 +0300 Subject: [PATCH] =?UTF-8?q?mdbx-testing:=20=D0=B8=D1=81=D0=BF=D1=80=D0=B0?= =?UTF-8?q?=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BE=D0=BF=D0=B5=D1=87?= =?UTF-8?q?=D0=B0=D1=82=D0=BA=D0=B8=20=D0=B2=20keygen-setup.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/keygen.c++ | 2 +- test/keygen.h++ | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/keygen.c++ b/test/keygen.c++ index 7e0df590..a3879770 100644 --- a/test/keygen.c++ +++ b/test/keygen.c++ @@ -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); diff --git a/test/keygen.h++ b/test/keygen.h++ index 80a87d0e..a9d69dfe 100644 --- a/test/keygen.h++ +++ b/test/keygen.h++ @@ -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 ¶ms,