mdbx: Merge branch 'master' into c++.

Change-Id: I7431973ca96afe98d991ffd0a876a15e6ed94714
This commit is contained in:
Leonid Yuriev
2020-09-10 01:33:32 +03:00
4 changed files with 15 additions and 24 deletions

13
mdbx.h
View File

@@ -1070,15 +1070,20 @@ enum MDBX_env_flags_t {
* be written to disk, while the itself B-tree not yet. In that case, the
* database will be corrupted!
*
* \see MDBX_NOMETASYNC \see MDBX_SAFE_NOSYNC \see MDBX_UTTERLY_NOSYNC
* \see MDBX_SYNC_DURABLE \see MDBX_NOMETASYNC \see MDBX_SAFE_NOSYNC
* \see MDBX_UTTERLY_NOSYNC
*
* @{ */
/** Default robust and durable sync mode.
*
* Metadata is written and flushed to disk after data is written and flushed,
* which guarantees the integrity of the database in the event of a crash at
* any time. */
* Metadata is written and flushed to disk after a data is written and
* flushed, which guarantees the integrity of the database in the event
* of a crash at any time.
*
* \attention Please do not use other modes until you have studied all the
* details and are sure. Otherwise, you may lose your users' data, as happens
* in [Miranda NG](https://www.miranda-ng.org/) messenger. */
MDBX_SYNC_DURABLE = 0,
/** Don't sync the meta-page after commit.