From: Hallvard Furuseth Date: Sun, 6 Aug 2017 14:15:51 +0000 (+0200) Subject: Drop always-false MDB_WRITEMAP test when IS_DIRTY_NW() X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73d75c6215d8e6cc91d0f16f1cf7c73b6e97ab93;p=thirdparty%2Fopenldap.git Drop always-false MDB_WRITEMAP test when IS_DIRTY_NW() --- diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index 3bd93a9172..7bfa256704 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -6992,8 +6992,7 @@ mdb_ovpage_free(MDB_cursor *mc, MDB_page *mp) } } txn->mt_dirty_room++; - if (!(env->me_flags & MDB_WRITEMAP)) - mdb_dpage_free(env, mp); + mdb_dpage_free(env, mp); release: /* Insert in me_pghead */ mop = env->me_pghead;