From f627b333796881ed55d3e22cb3d0657715f3286e Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Sun, 23 Jun 2019 20:41:50 +0300 Subject: [PATCH] mdbx-test: fix dbsize-options handling. Change-Id: Ia51f802ac1ad4e8b1b059a3f3b38214bda6b43fc --- test/main.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/main.cc b/test/main.cc index b5a32be2..0b39c24d 100644 --- a/test/main.cc +++ b/test/main.cc @@ -184,11 +184,11 @@ int main(int argc, char *const argv[]) { mdbx_limits_dbsize_min(params.pagesize), mdbx_limits_dbsize_max(params.pagesize))) continue; - if (config::parse_option(argc, argv, narg, "size", params.size_now, + if (config::parse_option(argc, argv, narg, "size-upper", params.size_upper, mdbx_limits_dbsize_min(params.pagesize), mdbx_limits_dbsize_max(params.pagesize))) continue; - if (config::parse_option(argc, argv, narg, "size-upper", params.size_upper, + if (config::parse_option(argc, argv, narg, "size", params.size_now, mdbx_limits_dbsize_min(params.pagesize), mdbx_limits_dbsize_max(params.pagesize))) continue;