Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
HAMANO Tsukasa
OpenLDAP
Commits
20a216fc
Commit
20a216fc
authored
Sep 17, 2012
by
Hallvard Furuseth
Browse files
MDB_WRITEMAP needs no DSYNC descriptor (me_mfd)
parent
588a84a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/libmdb/mdb.c
View file @
20a216fc
...
...
@@ -3163,7 +3163,7 @@ mdb_env_open(MDB_env *env, const char *path, unsigned int flags, mode_t mode)
}
if
((
rc
=
mdb_env_open2
(
env
,
flags
))
==
MDB_SUCCESS
)
{
if
(
flags
&
(
MDB_RDONLY
|
MDB_NOSYNC
|
MDB_NOMETASYNC
))
{
if
(
flags
&
(
MDB_RDONLY
|
MDB_NOSYNC
|
MDB_NOMETASYNC
|
MDB_WRITEMAP
))
{
env
->
me_mfd
=
env
->
me_fd
;
}
else
{
/* synchronous fd for meta writes */
...
...
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