From b2bc6dadeeaa16fc7da845cfbeb8bb61042683ac Mon Sep 17 00:00:00 2001 From: Kristian Nielsen Date: Thu, 22 Sep 2016 13:36:45 +0200 Subject: 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 --- sql/sql_binlog.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/sql_binlog.cc') diff --git a/sql/sql_binlog.cc b/sql/sql_binlog.cc index 0543cd2434e..314744714d0 100644 --- a/sql/sql_binlog.cc +++ b/sql/sql_binlog.cc @@ -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. */ -- cgit v1.2.1