]> git.sur5r.net Git - openldap/commit
ITS#7620: Keep empty IDLs. Tweak mdb_page_alloc().
authorHallvard Furuseth <hallvard@openldap.org>
Thu, 20 Jun 2013 05:41:35 +0000 (07:41 +0200)
committerHallvard Furuseth <hallvard@openldap.org>
Thu, 20 Jun 2013 05:41:35 +0000 (07:41 +0200)
commit4a9ee2cb726fe8f5c4f256c1a567cdf6721c10a7
treee5a4c56f16f6f8beb436d15481ad69c92f843034
parent1d94ea5b55e5bce58502b3c0065cf40983eee9a8
ITS#7620: Keep empty IDLs. Tweak mdb_page_alloc().

MDB_env.me_pghead: Don't free it when empty. mdb_ovpage_free()
needs it, but cannot allocate it.
mdb_midl_alloc(): Fill in length=0.
mdb_page_alloc(): Also Skip freeDB if txnid<3, instead of <4,
and consistently DPRINTF consumed IDLs.
libraries/liblmdb/mdb.c
libraries/liblmdb/midl.c