mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-06 19:04:12 +08:00
mdbx-test: fix mdbx_env_set_geometry() swapped arguments (Coverity).
Change-Id: I80583f273658ca5220ca686593079b9ffcf45c57
This commit is contained in:
parent
490addef18
commit
3727a2a099
@ -149,10 +149,10 @@ void testcase::db_prepare() {
|
|||||||
if (unlikely(rc != MDBX_SUCCESS))
|
if (unlikely(rc != MDBX_SUCCESS))
|
||||||
failure_perror("mdbx_env_set_oomfunc()", rc);
|
failure_perror("mdbx_env_set_oomfunc()", rc);
|
||||||
|
|
||||||
rc = mdbx_env_set_geometry(env, config.params.size_lower,
|
rc = mdbx_env_set_geometry(
|
||||||
config.params.size_now, config.params.size_upper,
|
env, config.params.size_lower, config.params.size_now,
|
||||||
config.params.shrink_threshold,
|
config.params.size_upper, config.params.growth_step,
|
||||||
config.params.growth_step, config.params.pagesize);
|
config.params.shrink_threshold, config.params.pagesize);
|
||||||
if (unlikely(rc != MDBX_SUCCESS))
|
if (unlikely(rc != MDBX_SUCCESS))
|
||||||
failure_perror("mdbx_env_set_mapsize()", rc);
|
failure_perror("mdbx_env_set_mapsize()", rc);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user