Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tero Saarni
OpenLDAP
Commits
1da71e6d
Commit
1da71e6d
authored
Oct 31, 2008
by
Quanah Gibson-Mount
Browse files
ITS#5698
parent
0b5e65fc
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
1da71e6d
OpenLDAP 2.4 Change Log
OpenLDAP 2.4.13 Engineering
Fixed slapd-bdb/hdb invalid db crash (ITS#5698)
OpenLDAP 2.4.12 Release (2008/10/12)
Fixed libldap ldap_utf8_strchar arguments (ITS#5720)
...
...
servers/slapd/back-bdb/init.c
View file @
1da71e6d
...
...
@@ -640,6 +640,17 @@ bdb_db_destroy( BackendDB *be, ConfigReply *cr )
{
struct
bdb_info
*
bdb
=
(
struct
bdb_info
*
)
be
->
be_private
;
/* stop and remove checkpoint task */
if
(
bdb
->
bi_txn_cp_task
)
{
struct
re_s
*
re
=
bdb
->
bi_txn_cp_task
;
bdb
->
bi_txn_cp_task
=
NULL
;
ldap_pvt_thread_mutex_lock
(
&
slapd_rq
.
rq_mutex
);
if
(
ldap_pvt_runqueue_isrunning
(
&
slapd_rq
,
re
)
)
ldap_pvt_runqueue_stoptask
(
&
slapd_rq
,
re
);
ldap_pvt_runqueue_remove
(
&
slapd_rq
,
re
);
ldap_pvt_thread_mutex_unlock
(
&
slapd_rq
.
rq_mutex
);
}
/* monitor handling */
(
void
)
bdb_monitor_db_destroy
(
be
);
...
...
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