From f19655eabc49d563878b88db8723478d2ee2cba7 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Tue, 19 Feb 2013 21:15:26 +0100 Subject: [PATCH] ITS#7517 Document that dirty DBs may not be closed --- libraries/liblmdb/lmdb.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() */ -- 2.39.5