Diff for /servers/slapd/back-bdb/modrdn.c between versions 1.191 and 1.192

version 1.191, 2007/08/28 21:56:18 version 1.192, 2007/11/12 10:14:55
Line 1 Line 1
 /* modrdn.c - bdb backend modrdn routine */  /* modrdn.c - bdb backend modrdn routine */
 /* $OpenLDAP: pkg/ldap/servers/slapd/back-bdb/modrdn.c,v 1.190 2007/08/17 18:33:46 hyc Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/back-bdb/modrdn.c,v 1.191 2007/08/28 21:56:18 ando Exp $ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.  /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *   *
  * Copyright 2000-2007 The OpenLDAP Foundation.   * Copyright 2000-2007 The OpenLDAP Foundation.
Line 303  retry: /* transaction retry */ Line 303  retry: /* transaction retry */
                 dnParent( &e->e_nname, &p_ndn );                  dnParent( &e->e_nname, &p_ndn );
         }          }
         np_ndn = &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                   /* Make sure parent entry exist and we can write its 
                  * children.                   * children.
                  */                   */
                 eip = ei->bei_parent;  
                 rs->sr_err = bdb_cache_find_id( op, ltid,                  rs->sr_err = bdb_cache_find_id( op, ltid,
                         eip->bei_id, &eip, 0, locker, &plock );                          eip->bei_id, &eip, 0, locker, &plock );
   

Removed from v.1.191  
changed lines
  Added in v.1.192


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org