summaryrefslogtreecommitdiff
path: root/sql/wsrep_mysqld.cc
diff options
context:
space:
mode:
authorJan Lindström <jan.lindstrom@mariadb.com>2019-02-05 15:41:53 +0200
committerJan Lindström <jan.lindstrom@mariadb.com>2019-03-28 08:43:44 +0200
commit81d71ee6b21870772c336bff15b71904914f146a (patch)
tree72bb4aeb8a81ad04047a48102d3756a010b43eb5 /sql/wsrep_mysqld.cc
parent21b2fada7ab7f35c898c02d2f918461409cc9c8e (diff)
downloadmariadb-git-81d71ee6b21870772c336bff15b71904914f146a.tar.gz
MDEV-12009: Allow to force kill user threads/query which are flagged as high priority by Galera
As noted on kill_one_thread SUPER should be able to kill even system threads i.e. threads/query flagged as high priority or wsrep applier thread. Normal user, should not able to kill threads/query flagged as high priority (BF) or wsrep applier thread.
Diffstat (limited to 'sql/wsrep_mysqld.cc')
-rw-r--r--sql/wsrep_mysqld.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/wsrep_mysqld.cc b/sql/wsrep_mysqld.cc
index ee8509e3fa2..82415691b3f 100644
--- a/sql/wsrep_mysqld.cc
+++ b/sql/wsrep_mysqld.cc
@@ -2470,7 +2470,6 @@ extern "C" void wsrep_thd_set_exec_mode(THD *thd, enum wsrep_exec_mode mode)
thd->wsrep_exec_mode= mode;
}
-
extern "C" void wsrep_thd_set_query_state(
THD *thd, enum wsrep_query_state state)
{