mdbx: extend descriptions for MDBX_VALIDATION and update TODO for done item.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev)
2022-07-09 19:40:09 +03:00
parent 194f2f45d2
commit 12d2879a9f
2 changed files with 10 additions and 2 deletions

6
mdbx.h
View File

@@ -1023,7 +1023,11 @@ LIBMDBX_API void mdbx_assert_fail(const MDBX_env *env, const char *msg,
enum MDBX_env_flags_t {
MDBX_ENV_DEFAULTS = 0,
/** Extra validation of DB structure and pages content. */
/** Extra validation of DB structure and pages content.
*
* The `MDBX_VALIDATION` enabled the simple safe/careful mode for working
* with damaged or untrusted DB. However, a notable performance
* degradation should be expected. */
MDBX_VALIDATION = UINT32_C(0x00002000),
/** No environment directory.