summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2014-08-01 16:51:12 +0200
committerSergei Golubchik <sergii@pisem.net>2014-08-01 16:51:12 +0200
commit4b4de01fae3b2c8ff27e733da3e2e03e90fbbaed (patch)
treed3e974744cad9f159b17fe544b95ea910971057d /sql/sql_parse.cc
parentd8a9bb4585fae93240ca0f58f64294b85bab5892 (diff)
parent681fbcaf9255e1aa9f4ef458f8ef69f1a31eade2 (diff)
downloadmariadb-git-4b4de01fae3b2c8ff27e733da3e2e03e90fbbaed.tar.gz
5.3 merge
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 d6aebf50a70..95a152bd848 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -6736,7 +6736,7 @@ static uint kill_threads_for_user(THD *thd, LEX_USER *user,
I_List_iterator<THD> it(threads);
while ((tmp=it++))
{
- if (tmp->command == COM_DAEMON)
+ if (!tmp->security_ctx->user)
continue;
/*
Check that hostname (if given) and user name matches.