Commit cf0c41aa authored by hf@deer.(none)'s avatar hf@deer.(none)

fix for #1218

parent 9807a3fa
...@@ -2620,8 +2620,10 @@ mysql_execute_command(THD *thd) ...@@ -2620,8 +2620,10 @@ mysql_execute_command(THD *thd)
break; break;
#endif #endif
case SQLCOM_SHOW_PROCESSLIST: case SQLCOM_SHOW_PROCESSLIST:
#ifndef EMBEDDED_LIBRARY
if (!thd->priv_user[0] && check_global_access(thd,PROCESS_ACL)) if (!thd->priv_user[0] && check_global_access(thd,PROCESS_ACL))
break; break;
#endif
mysqld_list_processes(thd,thd->master_access & PROCESS_ACL ? NullS : mysqld_list_processes(thd,thd->master_access & PROCESS_ACL ? NullS :
thd->priv_user,lex->verbose); thd->priv_user,lex->verbose);
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment