]> git.sur5r.net Git - openldap/commitdiff
Fix bug in last commit
authorKurt Zeilenga <kurt@openldap.org>
Mon, 11 Feb 2002 21:07:55 +0000 (21:07 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 11 Feb 2002 21:07:55 +0000 (21:07 +0000)
servers/slapd/back-bdb/add.c
servers/slapd/back-bdb/modrdn.c

index 9bc57358593095fdb072037497a21420551cf343..85b85f08fdecc979f5cfa6be642f766d1c244686 100644 (file)
@@ -361,7 +361,7 @@ retry:      /* transaction retry */
                char gid[DB_XIDDATASIZE];
 
                snprintf( gid, sizeof( gid ), "%s-%08lx-%08lx",
-                       bdb_uuid, (long) op->o_connid, (long) op->o_opid );
+                       bdb_uuid.bv_val, (long) op->o_connid, (long) op->o_opid );
 
                if (( rc=TXN_PREPARE( ltid, gid )) != 0 ) {
                        text = "txn_prepare failed";
index 64e5ad2e286046fdf7cc2f02aaba2976fc99bcb6..4a7fdae1416c7100fafacbfd8324a58116fa16b4 100644 (file)
@@ -632,7 +632,7 @@ retry:      /* transaction retry */
                char gid[DB_XIDDATASIZE];
 
                snprintf( gid, sizeof( gid ), "%s-%08lx-%08lx",
-                       bdb_uuid, (long) op->o_connid, (long) op->o_opid );
+                       bdb_uuid.bv_val, (long) op->o_connid, (long) op->o_opid );
 
                if(( rc=TXN_PREPARE( ltid, gid )) != 0 ) {
                        text = "txn_prepare failed";