projects
/
platform
/
upstream
/
lmdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ad2500
)
ITS#7517 Document that dirty DBs may not be closed
author
Hallvard Furuseth
<hallvard@openldap.org>
Tue, 19 Feb 2013 20:15:26 +0000
(21:15 +0100)
committer
Hallvard Furuseth
<hallvard@openldap.org>
Tue, 19 Feb 2013 20:15:26 +0000
(21:15 +0100)
libraries/liblmdb/lmdb.h
patch
|
blob
|
history
diff --git
a/libraries/liblmdb/lmdb.h
b/libraries/liblmdb/lmdb.h
index
220eea1
..
646d456
100644
(file)
--- 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()
*/