From c9126165900949eca0138ff2d7d7308a15593be9 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 11 Feb 2002 21:07:55 +0000 Subject: [PATCH] Fix bug in last commit --- servers/slapd/back-bdb/add.c | 2 +- servers/slapd/back-bdb/modrdn.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"; -- 2.39.5