mirror of
https://github.com/monero-project/monero.git
synced 2024-12-12 11:54:22 -05:00
Merge pull request #7362
332b973
ITS#9007 don't free loose writemap pages (Kris Zyp)
This commit is contained in:
commit
30bc575505
2
external/db_drivers/liblmdb/mdb.c
vendored
2
external/db_drivers/liblmdb/mdb.c
vendored
@ -3461,9 +3461,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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user