Diff for /servers/slapd/back-bdb/dn2id.c between versions 1.137.2.21 and 1.137.2.22

version 1.137.2.21, 2010/04/13 20:23:24 version 1.137.2.22, 2010/06/10 19:30:33
Line 1 Line 1
 /* dn2id.c - routines to deal with the dn2id index */  /* dn2id.c - routines to deal with the dn2id index */
 /* $OpenLDAP: pkg/ldap/servers/slapd/back-bdb/dn2id.c,v 1.137.2.20 2010/03/19 23:44:42 quanah Exp $ */  /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.  /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *   *
  * Copyright 2000-2010 The OpenLDAP Foundation.   * Copyright 2000-2010 The OpenLDAP Foundation.
Line 680  hdb_dn2id_delete( Line 680  hdb_dn2id_delete(
         d->nrdnlen[0] = (BEI(e)->bei_nrdn.bv_len >> 8) | 0x80;          d->nrdnlen[0] = (BEI(e)->bei_nrdn.bv_len >> 8) | 0x80;
         dlen[0] = d->nrdnlen[0];          dlen[0] = d->nrdnlen[0];
         dlen[1] = d->nrdnlen[1];          dlen[1] = d->nrdnlen[1];
         strcpy( d->nrdn, BEI(e)->bei_nrdn.bv_val );          memcpy( d->nrdn, BEI(e)->bei_nrdn.bv_val, BEI(e)->bei_nrdn.bv_len+1 );
         data.data = d;          data.data = d;
   
         rc = db->cursor( db, txn, &cursor, bdb->bi_db_opflags );          rc = db->cursor( db, txn, &cursor, bdb->bi_db_opflags );

Removed from v.1.137.2.21  
changed lines
  Added in v.1.137.2.22


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