Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
52fbc389
Commit
52fbc389
authored
Apr 15, 2019
by
Kris Zyp
Committed by
Howard Chu
Oct 10, 2020
Browse files
ITS#9007 don't free loose writemap pages
Broken in ITS#8756
parent
29f33e7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/liblmdb/mdb.c
View file @
52fbc389
...
@@ -3693,9 +3693,9 @@ mdb_freelist_save(MDB_txn *txn)
...
@@ -3693,9 +3693,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 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment