diff --git a/server/modules/routing/binlog/blr_file.c b/server/modules/routing/binlog/blr_file.c index 5f9288426..907a6a86e 100644 --- a/server/modules/routing/binlog/blr_file.c +++ b/server/modules/routing/binlog/blr_file.c @@ -488,7 +488,7 @@ struct stat statb; if (strcmp(router->binlog_name, file->binlogname) == 0 && pos >= router->binlog_position) { - if (pos > router->binlog_position && !router->rotating) + if (pos > router->binlog_position) { snprintf(errmsg, BINLOG_ERROR_MSG_LEN, "Requested binlog position %lu is unsafe. " "Latest safe position %lu, end of binlog file %lu",