mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 08:39:37 -05:00
Further clarification of mdb_open()
This commit is contained in:
parent
fbf9c23304
commit
fadf75a9cb
1 changed files with 4 additions and 3 deletions
|
|
@ -582,9 +582,10 @@ int mdb_txn_renew(MDB_txn *txn);
|
|||
|
||||
/** @brief Open a database in the environment.
|
||||
*
|
||||
* The database handle may be discarded by calling #mdb_close(). Only
|
||||
* one thread at a time may call this function; it is not mutex-protected in
|
||||
* a read-only transaction.
|
||||
* The database handle may be discarded by calling #mdb_close(). The
|
||||
* database handle resides in the shared environment, it is not owned
|
||||
* by the given transaction. Only one thread should call this function;
|
||||
* it is not mutex-protected in a read-only transaction.
|
||||
* @param[in] txn A transaction handle returned by #mdb_txn_begin()
|
||||
* @param[in] name The name of the database to open. If only a single
|
||||
* database is needed in the environment, this value may be NULL.
|
||||
|
|
|
|||
Loading…
Reference in a new issue