]> git.sur5r.net Git - openldap/blobdiff - libraries/liblmdb/lmdb.h
ITS#8209 MDB_CP_COMPACT: Handle empty or broken DB
[openldap] / libraries / liblmdb / lmdb.h
index bc3a29484c3f287139c5ec81b0c869a230f736b3..a3565385957c3be6b61d65d388b9906dd9b1ac31 100644 (file)
@@ -679,6 +679,7 @@ int  mdb_env_copyfd(MDB_env *env, mdb_filehandle_t fd);
         *      <li>#MDB_CP_COMPACT - Perform compaction while copying: omit free
         *              pages and sequentially renumber all pages in output. This option
         *              consumes more CPU and runs more slowly than the default.
+        *              Currently it fails if the environment has suffered a page leak.
         * </ul>
         * @return A non-zero error value on failure and 0 on success.
         */