]> git.sur5r.net Git - openldap/blobdiff - libraries/liblmdb/lmdb.h
Revert ITS#7789 commits, let's try this again.
[openldap] / libraries / liblmdb / lmdb.h
index 2374ef7cc7c23e9b2b6fd0c7313f8bacfc97950c..dfdbddc4408ad33d7875abbfa410fca6eac8e6c0 100644 (file)
@@ -411,7 +411,7 @@ typedef enum MDB_cursor_op {
 #define MDB_CURSOR_FULL        (-30787)
        /** Page has not enough space - internal error */
 #define MDB_PAGE_FULL  (-30786)
-       /** Environment mapsize was changed by another process */
+       /** Database contents grew beyond environment mapsize */
 #define MDB_MAP_RESIZED        (-30785)
        /** MDB_INCOMPATIBLE: Operation and DB incompatible, or DB flags changed */
 #define MDB_INCOMPATIBLE       (-30784)
@@ -785,10 +785,7 @@ int  mdb_env_get_fd(MDB_env *env, mdb_filehandle_t *fd);
         * This function should be called after #mdb_env_create() and before #mdb_env_open().
         * It may be called at later times if no transactions are active in
         * this process. Note that the library does not check for this condition,
-        * the caller must ensure it explicitly. The new size takes effect
-        * immediately for the current process but will not be persisted to
-        * any others until a write transaction has been committed by the
-        * current process.
+        * the caller must ensure it explicitly.
         *
         * If the mapsize is changed by another process, #mdb_txn_begin() will
         * return #MDB_MAP_RESIZED. This function may be called with a size