Commit 571ab016 authored by unknown's avatar unknown

Fixed loop condition.

parent 809ee8cf
...@@ -6706,7 +6706,7 @@ my_bool translog_flush(LSN lsn) ...@@ -6706,7 +6706,7 @@ my_bool translog_flush(LSN lsn)
{ {
File *handler= file_handlers; File *handler= file_handlers;
File *end= file_handlers + current_file_handler; File *end= file_handlers + current_file_handler;
for (; handler < end; handler++) for (; handler <= end; handler++)
rc|= my_sync(*handler, MYF(MY_WME)); rc|= my_sync(*handler, MYF(MY_WME));
} }
log_descriptor.flushed= sent_to_disk; log_descriptor.flushed= sent_to_disk;
......
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