summaryrefslogtreecommitdiff
path: root/innobase/trx/trx0trx.c
diff options
context:
space:
mode:
authorunknown <jan@hundin.mysql.fi>2005-02-22 15:03:17 +0200
committerunknown <jan@hundin.mysql.fi>2005-02-22 15:03:17 +0200
commitacaa20e21e5c086b2a1b375f4145bec52435482d (patch)
tree26df1c673f5def5346f8776a488433eb9ab84008 /innobase/trx/trx0trx.c
parent8b84cb93bb1924ddc03af0ee5894eaeefe014c95 (diff)
downloadmariadb-git-acaa20e21e5c086b2a1b375f4145bec52435482d.tar.gz
Clean up prints in innodb_xa_prepare.
Diffstat (limited to 'innobase/trx/trx0trx.c')
-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);