Diff for /servers/slapd/back-bdb/modrdn.c between versions 1.63.2.4 and 1.63.2.5

version 1.63.2.4, 2002/06/06 15:54:14 version 1.63.2.5, 2002/06/20 20:12:32
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.63.2.3 2002/05/22 14:25:52 kurt Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/back-bdb/modrdn.c,v 1.63.2.4 2002/06/06 15:54:14 kurt Exp $ */
 /*  /*
  * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.   * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file   * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
Line 130  retry: /* transaction retry */ Line 130  retry: /* transaction retry */
         op->o_private = &opinfo;          op->o_private = &opinfo;
   
         /* get entry */          /* get entry */
         rc = bdb_dn2entry_w( be, ltid, ndn, &e, &matched, 0, locker, &lock );          rc = bdb_dn2entry_w( be, ltid, ndn, &e, &matched, DB_RMW, locker, &lock );
   
         switch( rc ) {          switch( rc ) {
         case 0:          case 0:
Line 520  retry: /* transaction retry */ Line 520  retry: /* transaction retry */
                 new_ndn.bv_val, 0, 0 );                  new_ndn.bv_val, 0, 0 );
 #endif  #endif
   
         rc = bdb_dn2id ( be, ltid, &new_ndn, &id );          rc = bdb_dn2id ( be, ltid, &new_ndn, &id, 0 );
         switch( rc ) {          switch( rc ) {
         case DB_LOCK_DEADLOCK:          case DB_LOCK_DEADLOCK:
         case DB_LOCK_NOTGRANTED:          case DB_LOCK_NOTGRANTED:

Removed from v.1.63.2.4  
changed lines
  Added in v.1.63.2.5


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