mdbx-test: fix mdbx_env_set_geometry() swapped arguments (Coverity).

Change-Id: I80583f273658ca5220ca686593079b9ffcf45c57
This commit is contained in:
Leonid Yuriev 2018-08-22 01:26:31 +03:00
parent 490addef18
commit 3727a2a099

View File

@ -149,10 +149,10 @@ void testcase::db_prepare() {
if (unlikely(rc != MDBX_SUCCESS))
failure_perror("mdbx_env_set_oomfunc()", rc);
rc = mdbx_env_set_geometry(env, config.params.size_lower,
config.params.size_now, config.params.size_upper,
config.params.shrink_threshold,
config.params.growth_step, config.params.pagesize);
rc = mdbx_env_set_geometry(
env, config.params.size_lower, config.params.size_now,
config.params.size_upper, config.params.growth_step,
config.params.shrink_threshold, config.params.pagesize);
if (unlikely(rc != MDBX_SUCCESS))
failure_perror("mdbx_env_set_mapsize()", rc);