ITS#7517 Don't save dropped dirty MDB databases.
authorHallvard Furuseth <hallvard@openldap.org>
Sat, 16 Feb 2013 18:08:37 +0000 (19:08 +0100)
committerHallvard Furuseth <hallvard@openldap.org>
Sat, 16 Feb 2013 18:08:37 +0000 (19:08 +0100)
commitc7db955a94344b028ffba506bea1b5c2ecd564ca
tree2ae8deeb11d0b404be411f9186bbcb7a449f6acf
parent8e1bbdf0dd2c05f56937c6293dc23d7c4945fbe2
ITS#7517 Don't save dropped dirty MDB databases.

mdb_txn_commit's attempt to save the DB could corrupt another DB if
another thread had called mdb_dbi_open and reused the closed DBI.
libraries/liblmdb/mdb.c