Drop always-false MDB_WRITEMAP test when IS_DIRTY_NW()

mdb.master3
Hallvard Furuseth 7 years ago committed by Howard Chu
parent 789c71c4c9
commit 73d75c6215
  1. 3
      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;

Loading…
Cancel
Save