Fix for bug MXS-289

Added fix for bug MXS-289
This commit is contained in:
MassimilianoPinto
2015-07-27 18:44:05 +02:00
parent 6a92a419ff
commit 556e99b2a9
3 changed files with 5 additions and 5 deletions

View File

@ -618,7 +618,7 @@ ROUTER_SLAVE *slave = (ROUTER_SLAVE *)router_session;
LOGFILE_MESSAGE,
"%s: Master %s disconnected after %ld seconds. "
"%d events read,",
router->service->name, router->master->remote,
router->service->name, router->service->dbref->server->name,
time(0) - router->connect_time, router->stats.n_binlogs_ses)));
LOGIF(LE, (skygw_log_write_flush(
LOGFILE_ERROR,
@ -1122,7 +1122,7 @@ char msg[85], *errmsg;
LOGFILE_MESSAGE,
"%s: Master %s disconnected after %ld seconds. "
"%d events read.",
router->service->name, router->master->remote,
router->service->name, router->service->dbref->server->name,
time(0) - router->connect_time, router->stats.n_binlogs_ses)));
blr_master_reconnect(router);
}