Fixed loop condition.

This commit is contained in:
unknown 2007-12-05 12:13:02 +02:00
parent 809ee8cfae
commit 571ab016c1

View file

@ -6706,7 +6706,7 @@ sync:
{ {
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;