summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2020-05-02 08:44:17 +0200
committerOleksandr Byelkin <sanja@mariadb.com>2020-05-02 08:44:17 +0200
commitca091e6372c4d1b05d2338e878042c2914519a4e (patch)
tree406c71091eb4fdf4409147d22e6749309f677e8e /sql/sql_parse.cc
parent28325b08633372cc343dfcbc41fe252020cf6e6e (diff)
parentd233fd14a39f9c583b85ffb03e42b5ea52e2f4c2 (diff)
downloadmariadb-git-ca091e6372c4d1b05d2338e878042c2914519a4e.tar.gz
Merge branch '10.1' into 10.2
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r--sql/sql_parse.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index 3f03f27e21c..13576daae98 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -2082,7 +2082,7 @@ bool dispatch_command(enum enum_server_command command, THD *thd,
general_log_print(thd, command, "Log: '%s' Pos: %lu", name, pos);
if (nlen < FN_REFLEN)
mysql_binlog_send(thd, thd->strmake(name, nlen), (my_off_t)pos, flags);
- unregister_slave(thd,1,1);
+ unregister_slave(thd, true, true); // todo: can be extraneous
/* fake COM_QUIT -- if we get here, the thread needs to terminate */
error = TRUE;
break;