MXS-1545: Fix remaining compile issues

This commit is contained in:
Esa Korhonen 2017-11-27 16:22:46 +02:00
parent 520ee35bd2
commit 8966f36b1d
2 changed files with 2 additions and 1 deletions

View File

@ -4508,7 +4508,7 @@ bool blr_binlog_file_exists(ROUTER_INSTANCE *router,
// No file found
MXS_WARNING("%s: %s, missing binlog file '%s'",
router->service->name,
log_file == NULL ?
info_file == NULL ?
"ROTATE_EVENT" :
"Slave request",
path);

View File

@ -2096,6 +2096,7 @@ blr_slave_binlog_dump(ROUTER_INSTANCE *router, ROUTER_SLAVE *slave, GWBUF *queue
GWBUF *fde = blr_slave_read_fde(router, slave);
if (fde == NULL)
{
char errmsg[BINLOG_ERROR_MSG_LEN + 1];
snprintf(errmsg, BINLOG_ERROR_MSG_LEN,
"Cannot read FDE event from file '%s'",
slave->binlogfile);