Use correct enum values in avrorouter
The file flushing enums weren't used.
This commit is contained in:
@ -1074,7 +1074,7 @@ void converter_func(void* data)
|
||||
/** We reached end of file, flush unwritten records to disk */
|
||||
if (router->task_delay == 1)
|
||||
{
|
||||
avro_flush_all_tables(router, true);
|
||||
avro_flush_all_tables(router, AVROROUTER_FLUSH);
|
||||
avro_save_conversion_state(router);
|
||||
}
|
||||
|
||||
|
@ -745,7 +745,7 @@ avro_binlog_end_t avro_read_all_events(AVRO_INSTANCE *router)
|
||||
router->trx_count >= router->trx_target)
|
||||
{
|
||||
update_used_tables(router);
|
||||
avro_flush_all_tables(router, false);
|
||||
avro_flush_all_tables(router, AVROROUTER_SYNC);
|
||||
avro_save_conversion_state(router);
|
||||
notify_all_clients(router);
|
||||
total_rows += router->row_count;
|
||||
|
Reference in New Issue
Block a user