From eb31b765a599d8b04a34c3cc434117865e9cbc9f Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Thu, 3 Dec 2020 17:58:21 +0300 Subject: [PATCH] mdbx-tools: use `MDBX_SAFE_NOSYNC | MDBX_ACCEDE` inside `mdbx_load`. Change-Id: Id5a3a447d6b80b96a97ec76c258825583546d791 --- src/mdbx_load.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mdbx_load.c b/src/mdbx_load.c index 38ac180c..080920a2 100644 --- a/src/mdbx_load.c +++ b/src/mdbx_load.c @@ -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;