Clean up prints in innodb_xa_prepare.

This commit is contained in:
unknown 2005-02-22 15:03:17 +02:00
parent 8b84cb93bb
commit acaa20e21e

View File

@ -1853,6 +1853,7 @@ 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");
@ -1876,12 +1877,12 @@ 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));
@ -1898,6 +1899,7 @@ 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);