mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-08 16:04:47 -05:00
Tweak entry parent check
This commit is contained in:
parent
caac5b76fb
commit
eea5e60bf0
1 changed files with 2 additions and 2 deletions
|
|
@ -303,11 +303,11 @@ retry: /* transaction retry */
|
|||
dnParent( &e->e_nname, &p_ndn );
|
||||
}
|
||||
np_ndn = &p_ndn;
|
||||
if ( p_ndn.bv_len != 0 ) {
|
||||
eip = ei->bei_parent;
|
||||
if ( eip && eip->bei_id ) {
|
||||
/* Make sure parent entry exist and we can write its
|
||||
* children.
|
||||
*/
|
||||
eip = ei->bei_parent;
|
||||
rs->sr_err = bdb_cache_find_id( op, ltid,
|
||||
eip->bei_id, &eip, 0, locker, &plock );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue