File tree Expand file tree Collapse file tree 2 files changed +10
-12
lines changed
Expand file tree Collapse file tree 2 files changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -1770,12 +1770,11 @@ recv_recover_page_func(
17701770recv_addr->state = RECV_PROCESSED;
17711771
17721772ut_a (recv_sys->n_addrs > 0 );
1773- if (--recv_sys->n_addrs && recv_sys->progress_time - time >= 15 ) {
1774- recv_sys->progress_time = time;
1775- ut_print_timestamp (stderr);
1776- fprintf (stderr,
1777- " InnoDB: To recover: " ULINTPF " pages from log\n " ,
1778- recv_sys->n_addrs );
1773+ if (ulint n = --recv_sys->n_addrs ) {
1774+ if (recv_sys->report (time)) {
1775+ ib_logf (IB_LOG_LEVEL_INFO,
1776+ " To recover: " ULINTPF " pages from log" , n);
1777+ }
17791778}
17801779
17811780mutex_exit (&recv_sys->mutex );
Original file line number Diff line number Diff line change @@ -1860,12 +1860,11 @@ recv_recover_page_func(
18601860recv_addr->state = RECV_PROCESSED;
18611861
18621862ut_a (recv_sys->n_addrs > 0 );
1863- if (--recv_sys->n_addrs && recv_sys->progress_time - time >= 15 ) {
1864- recv_sys->progress_time = time;
1865- ut_print_timestamp (stderr);
1866- fprintf (stderr,
1867- " InnoDB: To recover: " ULINTPF " pages from log\n " ,
1868- recv_sys->n_addrs );
1863+ if (ulint n = --recv_sys->n_addrs ) {
1864+ if (recv_sys->report (time)) {
1865+ ib_logf (IB_LOG_LEVEL_INFO,
1866+ " To recover: " ULINTPF " pages from log" , n);
1867+ }
18691868}
18701869
18711870mutex_exit (&recv_sys->mutex );
You can’t perform that action at this time.
0 commit comments