From 2ee9c4a30e4d3ce203efcd3f1726f515f45913cc Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Wed, 28 Oct 2015 09:37:23 +0100 Subject: [PATCH] Fix MDB_NOSYNC,MDB_NOMETASYNC thinko --- libraries/liblmdb/mdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index 901f6c40d3..d4888beb74 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -3750,7 +3750,7 @@ mdb_env_write_meta(MDB_txn *txn) toggle, txn->mt_dbs[MAIN_DBI].md_root)); env = txn->mt_env; - flags = txn->mt_flags & env->me_flags; + flags = txn->mt_flags | env->me_flags; mp = env->me_metas[toggle]; mapsize = env->me_metas[toggle ^ 1]->mm_mapsize; /* Persist any increases of mapsize config */ -- 2.39.5