mdbx: don't return MDBX_RESULT_TRUE (-1) from mdbx_env_set_option().

This commit is contained in:
Leonid Yuriev 2021-12-03 15:33:22 +03:00
parent d47eed079e
commit 4b886e2a58

View File

@ -21909,6 +21909,7 @@ __cold int mdbx_env_set_option(MDBX_env *env, const MDBX_option_t option,
err = mdbx_env_sync_poll(env);
if (unlikely(MDBX_IS_ERROR(err)))
return err;
err = MDBX_SUCCESS;
}
break;
@ -21926,6 +21927,7 @@ __cold int mdbx_env_set_option(MDBX_env *env, const MDBX_option_t option,
err = mdbx_env_sync_poll(env);
if (unlikely(MDBX_IS_ERROR(err)))
return err;
err = MDBX_SUCCESS;
}
break;