Commit ae1f1a67 authored by Sunny Bains's avatar Sunny Bains

This patch comes from Michael: See bug#56933.

parent 693f1346
...@@ -2639,7 +2639,9 @@ srv_master_thread( ...@@ -2639,7 +2639,9 @@ srv_master_thread(
when there is database activity */ when there is database activity */
srv_last_log_flush_time = time(NULL); srv_last_log_flush_time = time(NULL);
next_itr_time = ut_time_ms();
/* Sleep for 1 second on entrying the for loop below the first time. */
next_itr_time = ut_time_ms() + 1000;
for (i = 0; i < 10; i++) { for (i = 0; i < 10; i++) {
ulint cur_time = ut_time_ms(); ulint cur_time = ut_time_ms();
......
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