summaryrefslogtreecommitdiff
path: root/sql/sql_binlog.cc
diff options
context:
space:
mode:
authorKristian Nielsen <knielsen@knielsen-hq.org>2016-09-22 13:36:45 +0200
committerKristian Nielsen <knielsen@knielsen-hq.org>2016-10-14 23:15:59 +0200
commitb2bc6dadeeaa16fc7da845cfbeb8bb61042683ac (patch)
treeccee79b38203f53313f567d66aef29e0d55279b6 /sql/sql_binlog.cc
parenta9fb480fd614031e2e372b1fb8d7e4c858954ac6 (diff)
downloadmariadb-git-b2bc6dadeeaa16fc7da845cfbeb8bb61042683ac.tar.gz
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>
Diffstat (limited to 'sql/sql_binlog.cc')
-rw-r--r--sql/sql_binlog.cc2
1 files changed, 1 insertions, 1 deletions
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.
*/