Commit acaa20e2 authored by unknown's avatar unknown

Clean up prints in innodb_xa_prepare.

parent 8b84cb93
...@@ -1853,8 +1853,9 @@ trx_recover_for_mysql( ...@@ -1853,8 +1853,9 @@ trx_recover_for_mysql(
ut_ad(xid_list); ut_ad(xid_list);
ut_ad(len); ut_ad(len);
ut_print_timestamp(stderr);
fprintf(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 /* We should set those transactions which are in
...@@ -1876,14 +1877,14 @@ trx_recover_for_mysql( ...@@ -1876,14 +1877,14 @@ trx_recover_for_mysql(
trx->xid.bqual_length); trx->xid.bqual_length);
ut_print_timestamp(stderr); ut_print_timestamp(stderr);
fprintf(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_high(trx->id),
(ulong) ut_dulint_get_low(trx->id)); (ulong) ut_dulint_get_low(trx->id));
ut_print_timestamp(stderr);
fprintf(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)); (ulong)ut_conv_dulint_to_longlong(trx->undo_no));
count++; count++;
...@@ -1898,8 +1899,9 @@ trx_recover_for_mysql( ...@@ -1898,8 +1899,9 @@ trx_recover_for_mysql(
mutex_exit(&kernel_mutex); mutex_exit(&kernel_mutex);
ut_print_timestamp(stderr);
fprintf(stderr, fprintf(stderr,
"InnoDB: %d transactions in prepare state after recovery\n", " InnoDB: %d transactions in prepare state after recovery\n",
count); count);
return (count); return (count);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment