mdbx-docs: refine docs for geo.shrink_threshold (#125)

This commit is contained in:
Alex Sharov 2020-10-22 18:12:04 +07:00 committed by GitHub
parent f9a36f3eb1
commit 97b47dea87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

6
mdbx.h
View File

@ -2456,9 +2456,11 @@ LIBMDBX_API int mdbx_env_get_fd(const MDBX_env *env, mdbx_filehandle_t *fd);
* means "keep current or use default".
*
* \param [in] shrink_threshold The shrink threshold in bytes, must be greater
* than zero to allow the database to shrink.
* than zero to allow the database to shrink and
* greater than growth_step to avoid shrinking
* right after grow.
* Negative value means "keep current
* or use default".
* or use default". Default is 2*growth_step.
*
* \param [in] pagesize The database page size for new database
* creation or -1 otherwise. Must be power of 2