]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
Doc fixes
authorHallvard Furuseth <hallvard@openldap.org>
Sat, 29 Jul 2017 05:56:46 +0000 (07:56 +0200)
committerHoward Chu <hyc@openldap.org>
Sat, 10 Oct 2020 12:00:52 +0000 (13:00 +0100)
libraries/liblmdb/lmdb.h
libraries/liblmdb/mdb.c

index c471706d8b336a5948fbb6f22cb53b8118063284..d691264657a97a4cb0583a6e20c7f33d6eb35943 100644 (file)
@@ -995,8 +995,8 @@ int  mdb_env_set_assert(MDB_env *env, MDB_assert_func *func);
 #if MDB_RPAGE_CACHE
        /** @brief Set encryption on an environment.
         *
-        * This must be called before #mdb_env_open(). It implicitly sets #MDB_REMAP_CHUNK
-        * on the env.
+        * This must be called before #mdb_env_open().
+        * It implicitly sets #MDB_REMAP_CHUNKS on the env.
         * @param[in] env An environment handle returned by #mdb_env_create().
         * @param[in] func An #MDB_enc_func function.
         * @param[in] key An array of two values: key[0] is the encryption key,
index 92b9fcde384356062db5db62eea658ae8db4b8bc..a8803ca97a4fa47452b13fcbe76f3120e930fffc 100644 (file)
@@ -471,7 +471,7 @@ typedef pthread_mutex_t *mdb_mutexref_t;
 #define MNAME_LEN      (sizeof(pthread_mutex_t))
 #endif
 
-/** Initial part of #MDB_env.me_mutexname[].
+/** Initial part of #MDB_env.%me_mutexname[].
  *     Changes to this code must be reflected in #MDB_LOCK_FORMAT.
  */
 #ifdef _WIN32
@@ -6322,7 +6322,8 @@ static void mdb_rpage_decrypt(MDB_env *env, MDB_ID3 *id3, int rem, int numpgs);
  * reference to one overflow page at a time.
  *
  * @param[in] txn the transaction for this access.
- * @param[in] pgno the page number for the page to retrieve.
+ * @param[in] pg0 the page number for the page to retrieve.
+ * @param[in] numpgs number of database pages (can be > 1 for overflow pages)
  * @param[out] ret address of a pointer where the page's address will be stored.
  * @return 0 on success, non-zero on failure.
  */
@@ -6652,6 +6653,7 @@ static void mdb_rpage_dispose(MDB_env *env, MDB_ID3 *id3)
  * Set #MDB_TXN_ERROR on failure.
  * @param[in] mc the cursor accessing the page.
  * @param[in] pgno the page number for the page to retrieve.
+ * @param[in] numpgs number of database pages (can be > 1 for overflow pages)
  * @param[out] ret address of a pointer where the page's address will be stored.
  * @param[out] lvl dirty_list inheritance level of found page. 1=current txn, 0=mapped page.
  * @return 0 on success, non-zero on failure.