]> git.sur5r.net Git - openldap/commit
ITS#7515 Fix MDB parent/child txn interaction.
authorHallvard Furuseth <hallvard@openldap.org>
Sat, 16 Feb 2013 18:11:20 +0000 (19:11 +0100)
committerHallvard Furuseth <hallvard@openldap.org>
Sat, 16 Feb 2013 18:11:20 +0000 (19:11 +0100)
commit00d7a96bd584412016036b1029fd31e441f5dc34
treefdb5ebec3d440774a064e4275d355c691304448f
parentd90581fa5a9ae42b87325f18259553bc80d89a14
ITS#7515 Fix MDB parent/child txn interaction.

mdb_txn_commit(child): Copy more state. Copy all of mt_dbs:
Include mainDB, and even freeDB since mdb_drop() can update
it. Don't skip DBs with unchanged root, this could break
when the new was newly opened and the old unused junk.

mdb_page_get(): Search parents' dirty lists.
libraries/liblmdb/mdb.c