From: Howard Chu Date: Thu, 24 Jul 2014 00:31:34 +0000 (-0700) Subject: ITS#7789 doc updates X-Git-Tag: accepted/tizen/5.0/unified/20181102.030725~336 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1b08d8e503d3ff7824af990d175a3b966b6b9e33;p=platform%2Fupstream%2Flmdb.git ITS#7789 doc updates --- diff --git a/libraries/liblmdb/lmdb.h b/libraries/liblmdb/lmdb.h index dfdbddc..b48100a 100644 --- a/libraries/liblmdb/lmdb.h +++ b/libraries/liblmdb/lmdb.h @@ -787,7 +787,13 @@ int mdb_env_get_fd(MDB_env *env, mdb_filehandle_t *fd); * this process. Note that the library does not check for this condition, * the caller must ensure it explicitly. * - * If the mapsize is changed by another process, #mdb_txn_begin() will + * 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. Also, only mapsize increases are + * persisted into the environment. + * + * If the mapsize is increased by another process, and data has grown + * beyond the range of the current mapsize, #mdb_txn_begin() will * return #MDB_MAP_RESIZED. This function may be called with a size * of zero to adopt the new size. *