mdbx-test: fix dbsize-options handling.

Change-Id: Ia51f802ac1ad4e8b1b059a3f3b38214bda6b43fc
This commit is contained in:
Leonid Yuriev 2019-06-23 20:41:50 +03:00
parent cf004dddbc
commit f627b33379

View File

@ -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;