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
b28f5ab7
Commit
b28f5ab7
authored
Feb 19, 2009
by
Quanah Gibson-Mount
Browse files
ITS#5961
parent
5a11e387
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/back-bdb/init.c
View file @
b28f5ab7
...
...
@@ -333,10 +333,10 @@ shm_retry:
/* Regular open failed, probably a missing shm environment.
* Start over, do a recovery.
*/
if
(
!
do_recover
&&
bdb
->
bi_shm_key
)
{
if
(
!
do_recover
&&
bdb
->
bi_shm_key
&&
do_retry
)
{
bdb
->
bi_dbenv
->
close
(
bdb
->
bi_dbenv
,
0
);
rc
=
db_env_create
(
&
bdb
->
bi_dbenv
,
0
);
if
(
rc
==
0
&&
do_retry
)
{
if
(
rc
==
0
)
{
Debug
(
LDAP_DEBUG_ANY
,
LDAP_XSTRING
(
bdb_db_open
)
": database
\"
%s
\"
: "
"shared memory env open failed, assuming stale env.
\n
"
,
...
...
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