Diff for /servers/slapd/back-bdb/dn2id.c between versions 1.20 and 1.21

version 1.20, 2001/12/06 12:20:18 version 1.21, 2001/12/06 13:15:47
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.19 2001/12/06 02:26:37 hyc Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/back-bdb/dn2id.c,v 1.20 2001/12/06 12:20:18 hyc Exp $ */
 /*  /*
  * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.   * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file   * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
Line 372  bdb_dn2idl( Line 372  bdb_dn2idl(
         ((char *)key.data)[0] = prefix;          ((char *)key.data)[0] = prefix;
         AC_MEMCPY( &((char *)key.data)[1], dn, key.size - 1 );          AC_MEMCPY( &((char *)key.data)[1], dn, key.size - 1 );
   
         /* store the ID */          rc = bdb_idl_fetch_key( be, db, NULL, &key, ids );
         DBTzero( &data );  
         data.data = ids;  
         data.ulen = BDB_IDL_UM_SIZEOF;    
         data.flags = DB_DBT_USERMEM;  
   
         /* fetch it */  
         rc = db->get( db, NULL, &key, &data, bdb->bi_db_opflags );  
   
         if( rc != 0 ) {          if( rc != 0 ) {
                 Debug( LDAP_DEBUG_TRACE,                  Debug( LDAP_DEBUG_TRACE,

Removed from v.1.20  
changed lines
  Added in v.1.21


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