From 4d073bd77995db4f7eb124663034789e25dacc59 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 29 Oct 2009 13:24:19 +0100 Subject: server: fix a debug message in trans2_commit - log the correct db_id Michael (This used to be ctdb commit ab9657b5a66d5665e6c5fd1bf8eb4074a3bffeec) --- ctdb/server/ctdb_persistent.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ctdb/server/ctdb_persistent.c') diff --git a/ctdb/server/ctdb_persistent.c b/ctdb/server/ctdb_persistent.c index f2bbe5d1f3..b00e4c7d5d 100644 --- a/ctdb/server/ctdb_persistent.c +++ b/ctdb/server/ctdb_persistent.c @@ -148,10 +148,10 @@ int32_t ctdb_control_trans2_commit(struct ctdb_context *ctdb, break; case CTDB_CONTROL_TRANS2_COMMIT: if (ctdb_db->transaction_active) { - DEBUG(DEBUG_ERR,(__location__ " trans2_commit: client " - "already has a transaction commit " + DEBUG(DEBUG_ERR,(__location__ " trans2_commit: there is" + " already a transaction commit " "active on db_id[%d]\n", - client->db_id)); + ctdb_db->db_id)); return -1; } if (client->db_id != 0) { -- cgit