The router->rotating is no longer part of Unsafe Pos check
In blr_read_binlog the router->rotating is no longer used for Unsafe Pos check
This commit is contained in:
parent
d9b022db10
commit
0ab9733393
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user