summaryrefslogtreecommitdiff
path: root/innobase/trx
diff options
context:
space:
mode:
authorjan@hundin.mysql.fi <>2005-02-22 15:03:17 +0200
committerjan@hundin.mysql.fi <>2005-02-22 15:03:17 +0200
commit886b406e134829d9b4199d7a73fa39ef8477b0f1 (patch)
tree26df1c673f5def5346f8776a488433eb9ab84008 /innobase/trx
parente20881bfb0509c84231a5f57db7f30b0f9fa4f79 (diff)
downloadmariadb-git-886b406e134829d9b4199d7a73fa39ef8477b0f1.tar.gz
Clean up prints in innodb_xa_prepare.
Diffstat (limited to 'innobase/trx')
-rw-r--r--innobase/trx/trx0trx.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/innobase/trx/trx0trx.c b/innobase/trx/trx0trx.c
index 7d5370b1ac1..69415beb331 100644
--- a/innobase/trx/trx0trx.c
+++ b/innobase/trx/trx0trx.c
@@ -1853,8 +1853,9 @@ trx_recover_for_mysql(
ut_ad(xid_list);
ut_ad(len);
+ ut_print_timestamp(stderr);
fprintf(stderr,
- "InnoDB: Starting recovery for XA transactions...\n");
+ " InnoDB: Starting recovery for XA transactions...\n");
/* We should set those transactions which are in
@@ -1876,14 +1877,14 @@ trx_recover_for_mysql(
trx->xid.bqual_length);
ut_print_timestamp(stderr);
-
fprintf(stderr,
-"InnoDB: Transaction %lu %lu in prepared state after recovery\n",
+" InnoDB: Transaction %lu %lu in prepared state after recovery\n",
(ulong) ut_dulint_get_high(trx->id),
(ulong) ut_dulint_get_low(trx->id));
+ ut_print_timestamp(stderr);
fprintf(stderr,
-"InnoDB: Transaction contains changes to %lu rows\n",
+" InnoDB: Transaction contains changes to %lu rows\n",
(ulong)ut_conv_dulint_to_longlong(trx->undo_no));
count++;
@@ -1898,8 +1899,9 @@ trx_recover_for_mysql(
mutex_exit(&kernel_mutex);
+ ut_print_timestamp(stderr);
fprintf(stderr,
- "InnoDB: %d transactions in prepare state after recovery\n",
+" InnoDB: %d transactions in prepare state after recovery\n",
count);
return (count);