mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-02 00:14:14 +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))
|
||||
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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user