Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nadezhda Ivanova
OpenLDAP
Commits
bfe439cd
Commit
bfe439cd
authored
May 02, 2018
by
Howard Chu
Browse files
ITS
#8844
use getpid() in mdb_env_close0()
parent
8218d067
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/liblmdb/mdb.c
View file @
bfe439cd
...
...
@@ -5997,7 +5997,7 @@ mdb_env_close_active(MDB_env *env, int excl)
if
(
env
->
me_fd
!=
INVALID_HANDLE_VALUE
)
(
void
)
close
(
env
->
me_fd
);
if
(
env
->
me_txns
)
{
MDB_PID_T pid =
env->me_
pid;
MDB_PID_T
pid
=
get
pid
()
;
/* Clearing readers is done in this function because
* me_txkey with its destructor must be disabled first.
*
...
...
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