MXS-1881: Pass the RowEventConverer as a parameter
The RowEventConverter is now passed as a parameter to the Avro instance. Wrapped the value in an std::auto_ptr to make the cleanup automatic (when it is implemented). Fixed a typo in the event handler member variable and removed the unused stats member.
This commit is contained in:
@ -380,7 +380,7 @@ void notify_all_clients(Avro *router)
|
||||
|
||||
void do_checkpoint(Avro *router)
|
||||
{
|
||||
router->event_hander->flush_tables();
|
||||
router->event_handler->flush_tables();
|
||||
avro_save_conversion_state(router);
|
||||
notify_all_clients(router);
|
||||
router->row_count = router->trx_count = 0;
|
||||
|
||||
Reference in New Issue
Block a user