Commit 064fed3b authored by Sunny Bains's avatar Sunny Bains

This patch comes from Michael: See bug#56933.

parent 14c7c747
...@@ -2639,7 +2639,9 @@ loop: ...@@ -2639,7 +2639,9 @@ loop:
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