mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
Fixed loop condition.
This commit is contained in:
parent
809ee8cfae
commit
571ab016c1
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue