Diff for /servers/slapd/back-bdb/modrdn.c between versions 1.60 and 1.61

version 1.60, 2002/02/09 04:14:18 version 1.61, 2002/02/11 16:45:39
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.59 2002/02/02 02:28:32 kurt Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/back-bdb/modrdn.c,v 1.60 2002/02/09 04:14:18 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 13 Line 13
 #include "back-bdb.h"  #include "back-bdb.h"
 #include "external.h"  #include "external.h"
   
 static char bdb_gid[DB_XIDDATASIZE];  
   
 int  int
 bdb_modrdn(  bdb_modrdn(
         Backend *be,          Backend *be,
Line 631  retry: /* transaction retry */ Line 629  retry: /* transaction retry */
                 }                  }
   
         } else {          } else {
                 if(( rc=TXN_PREPARE( ltid, bdb_gid )) != 0 ) {                  char gid[DB_XIDDATASIZE];
   
                   snprintf( gid, sizeof( gid ), "%s-%08lx-%08lx",
                           bdb_uuid, (long) op->o_connid, (long) op->o_opid );
   
                   if(( rc=TXN_PREPARE( ltid, gid )) != 0 ) {
                         text = "txn_prepare failed";                          text = "txn_prepare failed";
                 } else {                  } else {
                         if( bdb_cache_update_entry(&bdb->bi_cache, e) == -1 ) {                          if( bdb_cache_update_entry(&bdb->bi_cache, e) == -1 ) {

Removed from v.1.60  
changed lines
  Added in v.1.61


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