mdbx: treat the UINT64_MAX value as maximum for given option inside mdbx_env_set_option().

This commit is contained in:
Leonid Yuriev
2022-01-06 00:37:08 +03:00
parent 9822412ebd
commit 406cafb642
2 changed files with 22 additions and 2 deletions

2
mdbx.h
View File

@@ -2049,7 +2049,7 @@ typedef enum MDBX_option_t MDBX_option_t;
* \see mdbx_env_get_option()
* \returns A non-zero error value on failure and 0 on success. */
LIBMDBX_API int mdbx_env_set_option(MDBX_env *env, const MDBX_option_t option,
const uint64_t value);
uint64_t value);
/** \brief Gets the value of runtime options from an environment.
* \ingroup c_settings