summaryrefslogtreecommitdiff
path: root/sql/wsrep_mysqld.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/wsrep_mysqld.cc')
-rw-r--r--sql/wsrep_mysqld.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/wsrep_mysqld.cc b/sql/wsrep_mysqld.cc
index 947492e2b73..d0cd90e28c3 100644
--- a/sql/wsrep_mysqld.cc
+++ b/sql/wsrep_mysqld.cc
@@ -2016,7 +2016,7 @@ static bool have_client_connections()
static void wsrep_close_thread(THD *thd)
{
- thd->killed= KILL_CONNECTION;
+ thd->set_killed(KILL_CONNECTION);
MYSQL_CALLBACK(thread_scheduler, post_kill_notification, (thd));
if (thd->mysys_var)
{
@@ -2096,7 +2096,7 @@ void wsrep_close_client_connections(my_bool wait_to_end)
if (is_replaying_connection(tmp))
{
- tmp->killed= KILL_CONNECTION;
+ tmp->set_killed(KILL_CONNECTION);
continue;
}