]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
Doc tweaks
authorHoward Chu <hyc@openldap.org>
Fri, 1 Sep 2017 12:16:37 +0000 (13:16 +0100)
committerHoward Chu <hyc@openldap.org>
Sat, 10 Oct 2020 12:06:19 +0000 (13:06 +0100)
Note about DB names being C strings

libraries/liblmdb/lmdb.h

index d6a422d7cb8caa6ef96ac36c733944ccb5c657a6..bc1e2684ba426f8744e5ba25ac3056ca90818751 100644 (file)
@@ -224,7 +224,7 @@ typedef int mdb_filehandle_t;
 
 /** @defgroup mdb LMDB API
  *     @{
- *     @brief OpenLDAP Lightning Memory-Mapped Database Manager
+ *     @brief Symas Lightning Memory-Mapped Database Manager
  */
 /** @defgroup Version Version Macros
  *     @{
@@ -1161,6 +1161,8 @@ int  mdb_txn_renew(MDB_txn *txn);
         * To use named databases (with name != NULL), #mdb_env_set_maxdbs()
         * must be called before opening the environment.  Database names are
         * keys in the unnamed database, and may be read but not written.
+        * @note Names are C strings and stored with their NUL terminator included.
+        * In LMDB 0.9 the NUL terminator was omitted.
         *
         * @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