mdbx-tools: use MDBX_SAFE_NOSYNC | MDBX_ACCEDE inside mdbx_load.

Change-Id: Id5a3a447d6b80b96a97ec76c258825583546d791
This commit is contained in:
Leonid Yuriev 2020-12-03 17:58:21 +03:00
parent 76716c23b0
commit eb31b765a5

View File

@ -480,7 +480,7 @@ int main(int argc, char *argv[]) {
MDBX_cursor *mc = nullptr;
MDBX_dbi dbi;
char *envname = nullptr;
int envflags = MDBX_UTTERLY_NOSYNC, putflags = MDBX_UPSERT;
int envflags = MDBX_SAFE_NOSYNC | MDBX_ACCEDE, putflags = MDBX_UPSERT;
bool quiet = false;
bool rescue = false;