Fix binlogrouter slave heartbeat task addition

The task was added multiple times when only one task is needed.
This commit is contained in:
Markus Mäkelä
2019-03-28 10:46:38 +02:00
parent f6219d1a80
commit 18cd890474
3 changed files with 5 additions and 1 deletions

View File

@ -354,6 +354,7 @@ static MXS_ROUTER* createInstance(SERVICE* service, MXS_CONFIG_PARAMETER* params
inst->trx_safe = params->get_bool("transaction_safety");
inst->fileroot = params->get_c_str_copy("filestem");
inst->heartbeat_task_active = false;
inst->slave_heartbeat_task_active = false;
/* Server id */
inst->serverid = params->get_integer("server_id");