mdbx-test: по-умолчанию работа в режиме MDBX_SYNC_DURABLE.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev) 2023-02-24 10:43:00 +03:00
parent 1b6e32071c
commit 5f690bbc4f

View File

@ -129,8 +129,7 @@ void actor_params::set_defaults(const std::string &tmpdir) {
#endif
pathname_db = tmpdir + "mdbx-test.db";
mode_flags = MDBX_NOSUBDIR | MDBX_WRITEMAP | MDBX_SAFE_NOSYNC |
MDBX_NOMEMINIT | MDBX_COALESCE | MDBX_LIFORECLAIM | MDBX_ACCEDE;
mode_flags = MDBX_NOSUBDIR | MDBX_WRITEMAP | MDBX_SYNC_DURABLE | MDBX_ACCEDE;
table_flags = MDBX_DUPSORT;
size_lower = -1;