From 3727a2a09912fc18a585e4591d1e5b71cf1ed350 Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Wed, 22 Aug 2018 01:26:31 +0300 Subject: [PATCH] mdbx-test: fix mdbx_env_set_geometry() swapped arguments (Coverity). Change-Id: I80583f273658ca5220ca686593079b9ffcf45c57 --- test/test.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/test.cc b/test/test.cc index efdb9d62..80694827 100644 --- a/test/test.cc +++ b/test/test.cc @@ -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);