MXS-1545: fix compile issue

MXS-1545: fix compile issue
This commit is contained in:
MassimilianoPinto 2017-11-27 15:07:06 +01:00
parent 7f6b40e710
commit 520ee35bd2

View File

@ -4498,9 +4498,9 @@ bool blr_binlog_file_exists(ROUTER_INSTANCE *router,
// Set final file name full path
strcat(path,
log_file == NULL ?
info_file == NULL ?
router->binlog_name :
log_file);
info_file->file);
// Check file
if (access(path, F_OK) == -1 && errno == ENOENT)