Markus Mäkelä 09df0acb00 Fix binlog rotation detection
The rotations of binlogs weren't detected as the file names weren't
compared.

Moved the indexing of the binlogs to the end of the binlog
processing. This way the files can be flushed multiple times before they
are indexed.
2017-03-04 00:31:07 +02:00
..
2017-03-04 00:26:51 +02:00
2017-03-04 00:31:07 +02:00
2016-08-11 12:44:07 +03:00
2016-08-11 12:44:07 +03:00