From: Howard Chu Date: Tue, 12 Nov 2013 00:35:17 +0000 (-0800) Subject: Clarify WRITEMAP / NOMEMINIT X-Git-Tag: OPENLDAP_REL_ENG_2_4_38~8^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=eecbaa594290a42af1ab594786663511ab757e92;p=openldap Clarify WRITEMAP / NOMEMINIT --- diff --git a/libraries/liblmdb/lmdb.h b/libraries/liblmdb/lmdb.h index 5877e957d9..8d4d7653b0 100644 --- a/libraries/liblmdb/lmdb.h +++ b/libraries/liblmdb/lmdb.h @@ -72,13 +72,13 @@ * * - By default, in versions before 0.9.10, unused portions of the data * file might receive garbage data from memory freed by other code. - * (This did not happen when using the #MDB_WRITEMAP flag.) As of + * (This does not happen when using the #MDB_WRITEMAP flag.) As of * 0.9.10 the default behavior is to initialize such memory before * writing to the data file. Since there may be a slight performance * cost due to this initialization, applications may disable it using * the #MDB_NOMEMINIT flag. Applications handling sensitive data - * which must not be written, and which don't use #MDB_WRITEMAP, - * should not use this flag. + * which must not be written should not use this flag. This flag is + * irrelevant when using #MDB_WRITEMAP. * * - A thread can only use one transaction at a time, plus any child * transactions. Each transaction belongs to one thread. See below.