Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
eecbaa59
Commit
eecbaa59
authored
Nov 11, 2013
by
Howard Chu
Browse files
Clarify WRITEMAP / NOMEMINIT
parent
509a1977
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/liblmdb/lmdb.h
View file @
eecbaa59
...
...
@@ -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 d
id
not happen when using the #MDB_WRITEMAP flag.) As of
* (This d
oes
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.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment