]> git.sur5r.net Git - openldap/blobdiff - libraries/libmdb/mdb.h
mdb_env_sync(,force=1): Override MDB_MAPASYNC.
[openldap] / libraries / libmdb / mdb.h
index 2fcf132c05b4a05add4a24f822db370f7a0ca222..332003462d4005dd1ce60a3cf270e3c961ea20ea 100644 (file)
@@ -500,9 +500,9 @@ int  mdb_env_info(MDB_env *env, MDB_envinfo *stat);
         * the OS buffers upon commit as well, unless the environment was
         * opened with #MDB_NOSYNC.
         * @param[in] env An environment handle returned by #mdb_env_create()
-        * @param[in] force If non-zero, force the flush to occur. Otherwise
+        * @param[in] force If non-zero, force a synchronous flush.  Otherwise
         *  if the environment has the #MDB_NOSYNC flag set the flushes
-        *      will be omitted.
+        *      will be omitted, and with #MDB_MAPASYNC they will be asynchronous.
         * @return A non-zero error value on failure and 0 on success. Some possible
         * errors are:
         * <ul>