mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 10:39:34 -05:00
Further cleanup last commit.
This commit is contained in:
parent
535c221599
commit
10622b1d0a
2 changed files with 2 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue