Diff for /servers/slapd/back-bdb/modrdn.c between versions 1.62 and 1.63

version 1.62, 2002/02/11 20:07:55 version 1.63, 2002/02/13 10:46:34
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.61 2002/02/11 16:45:39 kurt Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/back-bdb/modrdn.c,v 1.62 2002/02/11 20:07:55 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 430  retry: /* transaction retry */ Line 430  retry: /* transaction retry */
         /* Get attribute type and attribute value of our new rdn, we will          /* Get attribute type and attribute value of our new rdn, we will
          * need to add that to our new entry           * need to add that to our new entry
          */           */
         if ( ldap_str2rdn( newrdn->bv_val, &new_rdn, (char **)&text,          if ( ldap_bv2rdn( newrdn, &new_rdn, (char **)&text,
                 LDAP_DN_FORMAT_LDAP ) )                  LDAP_DN_FORMAT_LDAP ) )
         {          {
                 Debug( LDAP_DEBUG_TRACE,                  Debug( LDAP_DEBUG_TRACE,
Line 445  retry: /* transaction retry */ Line 445  retry: /* transaction retry */
                 "bdb_modrdn: new_rdn_type=\"%s\", new_rdn_val=\"%s\"\n",                  "bdb_modrdn: new_rdn_type=\"%s\", new_rdn_val=\"%s\"\n",
                 new_rdn[0][0]->la_attr.bv_val, new_rdn[0][0]->la_value.bv_val, 0 );                  new_rdn[0][0]->la_attr.bv_val, new_rdn[0][0]->la_value.bv_val, 0 );
   
         if ( ldap_str2rdn( dn->bv_val, &old_rdn, (char **)&text,          if ( ldap_bv2rdn( dn, &old_rdn, (char **)&text,
                 LDAP_DN_FORMAT_LDAP ) )                  LDAP_DN_FORMAT_LDAP ) )
         {          {
                 Debug( LDAP_DEBUG_TRACE,                  Debug( LDAP_DEBUG_TRACE,

Removed from v.1.62  
changed lines
  Added in v.1.63


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