Merge remote-tracking branch 'origin/mdb.RE/0.9'

This commit is contained in:
Quanah Gibson-Mount 2019-04-18 00:09:09 +00:00
commit b227ea50e0
2 changed files with 2 additions and 1 deletions

View file

@ -3,6 +3,7 @@ LMDB 0.9 Change Log
LMDB 0.9.24 Engineering LMDB 0.9.24 Engineering
ITS#8969 Tweak mdb_page_split ITS#8969 Tweak mdb_page_split
ITS#8975 WIN32 fix writemap set_mapsize crash ITS#8975 WIN32 fix writemap set_mapsize crash
ITS#9007 Fix loose pages in WRITEMAP
LMDB 0.9.23 Release (2018/12/19) LMDB 0.9.23 Release (2018/12/19)
ITS#8756 Fix loose pages in dirty list ITS#8756 Fix loose pages in dirty list

View file

@ -3109,9 +3109,9 @@ mdb_freelist_save(MDB_txn *txn)
} else { } else {
x = mdb_mid2l_search(dl, mp->mp_pgno); x = mdb_mid2l_search(dl, mp->mp_pgno);
mdb_tassert(txn, dl[x].mid == mp->mp_pgno); mdb_tassert(txn, dl[x].mid == mp->mp_pgno);
mdb_dpage_free(env, mp);
} }
dl[x].mptr = NULL; dl[x].mptr = NULL;
mdb_dpage_free(env, mp);
} }
{ {
/* squash freed slots out of the dirty list */ /* squash freed slots out of the dirty list */