Maxbinlogcheck gets stuck when binlog file is not existant/readable
Missing exit() caused maxbinlogcheck being stuck on log_manager call when specified binlog file is not existed/redable
This commit is contained in:
@ -169,6 +169,7 @@ int main(int argc, char **argv)
|
|||||||
MXS_FREE(inst);
|
MXS_FREE(inst);
|
||||||
mxs_log_flush_sync();
|
mxs_log_flush_sync();
|
||||||
mxs_log_finish();
|
mxs_log_finish();
|
||||||
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
inst->binlog_fd = fd;
|
inst->binlog_fd = fd;
|
||||||
|
|||||||
Reference in New Issue
Block a user