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
openldap
OpenLDAP
Commits
a9886bc6
Commit
a9886bc6
authored
Sep 18, 2013
by
Ted C. Cheng
Committed by
Quanah Gibson-Mount
Oct 14, 2013
Browse files
ITS#7699 fixed one dds start-up assertion failure
parent
409fecb2
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/overlays/dds.c
View file @
a9886bc6
...
...
@@ -1733,8 +1733,15 @@ dds_db_open(
di
->
di_suffix
=
be
->
be_suffix
;
di
->
di_nsuffix
=
be
->
be_nsuffix
;
/* ... so that count, if required, is accurate */
if
(
di
->
di_max_dynamicObjects
>
0
)
{
/* count the dynamic objects first */
rc
=
dds_count
(
thrctx
,
be
);
if
(
rc
!=
LDAP_SUCCESS
)
{
rc
=
1
;
goto
done
;
}
/* ... if there are dynamic objects, delete those expired */
if
(
di
->
di_num_dynamicObjects
>
0
)
{
/* force deletion of expired entries... */
be
->
bd_info
=
(
BackendInfo
*
)
on
->
on_info
;
rc
=
dds_expire
(
thrctx
,
di
);
...
...
@@ -1743,12 +1750,6 @@ dds_db_open(
rc
=
1
;
goto
done
;
}
rc
=
dds_count
(
thrctx
,
be
);
if
(
rc
!=
LDAP_SUCCESS
)
{
rc
=
1
;
goto
done
;
}
}
/* start expire task */
...
...
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