Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
d12ebb65
Commit
d12ebb65
authored
Jul 31, 2017
by
Howard Chu
Browse files
ITS#8704 Add PREVMETA to envflags()
parent
0158f67c
Changes
1
Show whitespace changes
Inline
Side-by-side
libraries/liblmdb/mdb.c
View file @
d12ebb65
...
...
@@ -5661,13 +5661,13 @@ mdb_enctest(const MDB_val *src, MDB_val *dst, const MDB_val *key, int encdec)
static
int
ESECT
mdb_env_envflags
(
MDB_env
*
env
)
{
static
const
char
names
[]
=
"ace"
"fhi"
"lmn"
"rst"
"w"
;
static
const
char
names
[]
=
"ace"
"fhi"
"lmn"
"rst"
"
v
w"
;
static
const
unsigned
f
[]
=
{
/*a*/
MDB_MAPASYNC
,
/*c*/
MDB_REMAP_CHUNKS
,
/*e*/
MDB_ENCRYPT
,
/*f*/
MDB_FIXEDMAP
,
/*h*/
MDB_NORDAHEAD
,
/*i*/
MDB_NOMEMINIT
,
/*l*/
MDB_NOLOCK
,
/*m*/
MDB_NOMETASYNC
,
/*n*/
MDB_NOSUBDIR
,
/*r*/
MDB_RDONLY
,
/*s*/
MDB_NOSYNC
,
/*t*/
MDB_NOTLS
,
/*w*/
MDB_WRITEMAP
,
/*v*/
MDB_PREVMETA
,
/*w*/
MDB_WRITEMAP
,
};
unsigned
flags
=
0
;
const
char
*
s
,
*
opts
=
getenv
(
"LMDB_FLAGS"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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