From: Kurt Zeilenga Date: Mon, 11 Feb 2002 21:07:55 +0000 (+0000) Subject: Fix bug in last commit X-Git-Tag: OPENLDAP_REL_ENG_2_1_BP~40 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c9126165900949eca0138ff2d7d7308a15593be9;p=openldap Fix bug in last commit --- diff --git a/servers/slapd/back-bdb/add.c b/servers/slapd/back-bdb/add.c index 9bc5735859..85b85f08fd 100644 --- a/servers/slapd/back-bdb/add.c +++ b/servers/slapd/back-bdb/add.c @@ -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"; diff --git a/servers/slapd/back-bdb/modrdn.c b/servers/slapd/back-bdb/modrdn.c index 64e5ad2e28..4a7fdae141 100644 --- a/servers/slapd/back-bdb/modrdn.c +++ b/servers/slapd/back-bdb/modrdn.c @@ -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";