Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
10622b1d
Commit
10622b1d
authored
Oct 12, 2003
by
Kurt Zeilenga
Browse files
Further cleanup last commit.
parent
535c2215
Changes
2
Hide whitespace changes
Inline
Side-by-side
servers/slapd/back-bdb/add.c
View file @
10622b1d
...
...
@@ -285,8 +285,7 @@ retry: /* transaction retry */
* no parent!
* if not attempting to add entry at suffix or with parent ""
*/
if
((
!
be_isroot
(
op
->
o_bd
,
&
op
->
o_ndn
)
||
!
dn_match
(
&
pdn
,
&
slap_empty_bv
))
if
((
!
be_isroot
(
op
->
o_bd
,
&
op
->
o_ndn
)
||
pdn
.
bv_len
>
0
)
&&
!
is_entry_glue
(
op
->
oq_add
.
rs_e
))
{
#ifdef NEW_LOGGING
...
...
servers/slapd/back-ldbm/add.c
View file @
10622b1d
...
...
@@ -234,8 +234,7 @@ ldbm_back_add(
}
else
{
assert
(
pdn
.
bv_val
==
NULL
||
*
pdn
.
bv_val
!=
'\0'
);
if
((
!
be_isroot
(
op
->
o_bd
,
&
op
->
o_ndn
)
||
!
dn_match
(
&
pdn
,
&
slap_empty_bv
))
if
(
!
be_isroot
(
op
->
o_bd
,
&
op
->
o_ndn
)
&&
!
is_entry_glue
(
op
->
oq_add
.
rs_e
))
{
ldap_pvt_thread_rdwr_wunlock
(
&
li
->
li_giant_rwlock
);
...
...
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