Merge part of MXS-289 bug

Merge part of MXS-289 bug
This commit is contained in:
MassimilianoPinto
2015-07-27 18:44:05 +02:00
parent f22e2ec87b
commit 8d7def654a
2 changed files with 2 additions and 3 deletions

View File

@ -724,7 +724,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,

View File

@ -619,8 +619,7 @@ char query[128];
"%s: Request binlog records from %s at "
"position %lu from master server %s:%d",
router->service->name, router->binlog_name,
router->binlog_position, router->master->remote,
router->service->dbref->server->port)));
router->binlog_position, router->service->dbref->server->name)));
break;
case BLRM_BINLOGDUMP:
// Main body, we have received a binlog record from the master