MXS-1545: use GTID file info in blr_binlog_file_exists

MXS-1545: use GTID file info in blr_binlog_file_exists instead of log
filename
This commit is contained in:
MassimilianoPinto
2017-11-27 09:51:07 +01:00
parent a72956e2f3
commit e9cf0c0f86
3 changed files with 7 additions and 3 deletions

View File

@ -2036,7 +2036,7 @@ blr_slave_binlog_dump(ROUTER_INSTANCE *router, ROUTER_SLAVE *slave, GWBUF *queue
(unsigned long)slave->binlog_pos);
/* Check first the requested file exists */
if (!blr_binlog_file_exists(router, slave->binlogfile))
if (!blr_binlog_file_exists(router, &slave->f_info))
{
char errmsg[BINLOG_ERROR_MSG_LEN + 1];