]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-bdb/modrdn.c
Merge remote-tracking branch 'origin/mdb.master'
[openldap] / servers / slapd / back-bdb / modrdn.c
index 1d7e4a717c07a1c83447b0841277354c6644eac6..7be6e3d3e527ed5b186b9d674612069acf9de4c0 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 2000-2012 The OpenLDAP Foundation.
+ * Copyright 2000-2013 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -162,6 +162,8 @@ retry:      /* transaction retry */
                rs->sr_text = "internal error";
                goto return_results;
        }
+       Debug( LDAP_DEBUG_TRACE, LDAP_XSTRING(bdb_modrdn) ": txn1 id: %x\n",
+               ltid->id(ltid), 0, 0 );
 
        opinfo.boi_oe.oe_key = bdb;
        opinfo.boi_txn = ltid;
@@ -601,6 +603,8 @@ retry:      /* transaction retry */
                rs->sr_text = "internal error";
                goto return_results;
        }
+       Debug( LDAP_DEBUG_TRACE, LDAP_XSTRING(bdb_modrdn) ": txn2 id: %x\n",
+               lt2->id(lt2), 0, 0 );
 
        /* delete old DN */
        rs->sr_err = bdb_dn2id_delete( op, lt2, eip, e );