From: Hallvard Furuseth Date: Tue, 19 Feb 2013 20:15:26 +0000 (+0100) Subject: ITS#7517 Document that dirty DBs may not be closed X-Git-Tag: OPENLDAP_REL_ENG_2_4_34~3^2~9 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f19655eabc49d563878b88db8723478d2ee2cba7;p=openldap ITS#7517 Document that dirty DBs may not be closed --- diff --git a/libraries/liblmdb/lmdb.h b/libraries/liblmdb/lmdb.h index 220eea1c6a..646d456e31 100644 --- a/libraries/liblmdb/lmdb.h +++ b/libraries/liblmdb/lmdb.h @@ -827,7 +827,8 @@ int mdb_stat(MDB_txn *txn, MDB_dbi dbi, MDB_stat *stat); * * This call is not mutex protected. Handles should only be closed by * a single thread, and only if no other threads are going to reference - * the database handle or one of its cursors any further. + * the database handle or one of its cursors any further. Do not close + * a handle if an existing transaction has modified its database. * @param[in] env An environment handle returned by #mdb_env_create() * @param[in] dbi A database handle returned by #mdb_dbi_open() */