Commit 332718f1 authored by Kris Zyp's avatar Kris Zyp Committed by Howard Chu
Browse files

ITS#9007 don't free loose writemap pages

Broken in ITS#8756
parent 22af3288
......@@ -3459,9 +3459,9 @@ mdb_freelist_save(MDB_txn *txn)
} else {
x = mdb_mid2l_search(dl, mp->mp_pgno);
mdb_tassert(txn, dl[x].mid == mp->mp_pgno);
mdb_dpage_free(env, mp);
dl[x].mptr = NULL;
mdb_dpage_free(env, mp);
/* squash freed slots out of the dirty list */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment