mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-7145: Delayed replication, cleanup some code
The original MySQL patch left some refactoring todo's, possibly because of known conflicts with other parallel development (like info-repository feature perhaps). This patch fixes those todos/refactorings. Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
This commit is contained in:
@ -100,7 +100,7 @@ static int check_event_type(int type, Relay_log_info *rli)
|
||||
/*
|
||||
It is not meaningful to execute other events than row-events and
|
||||
FD events. It would even be dangerous to execute Stop_log_event
|
||||
and Rotate_log_event since they call flush_relay_log_info, which
|
||||
and Rotate_log_event since they call Relay_log_info::flush(), which
|
||||
is not allowed to call by other threads than the slave SQL
|
||||
thread when the slave SQL thread is running.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user