diff options
| author | Sergei Golubchik <sergii@pisem.net> | 2014-08-01 16:51:12 +0200 |
|---|---|---|
| committer | Sergei Golubchik <sergii@pisem.net> | 2014-08-01 16:51:12 +0200 |
| commit | 4b4de01fae3b2c8ff27e733da3e2e03e90fbbaed (patch) | |
| tree | d3e974744cad9f159b17fe544b95ea910971057d /sql/sql_parse.cc | |
| parent | d8a9bb4585fae93240ca0f58f64294b85bab5892 (diff) | |
| parent | 681fbcaf9255e1aa9f4ef458f8ef69f1a31eade2 (diff) | |
| download | mariadb-git-4b4de01fae3b2c8ff27e733da3e2e03e90fbbaed.tar.gz | |
5.3 merge
Diffstat (limited to 'sql/sql_parse.cc')
| -rw-r--r-- | sql/sql_parse.cc | 2 |
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. |
