fix for #1218
sql/sql_parse.cc: This line fails in libmysqld. And isn't needed while we don't check privileges in embedded library
This commit is contained in:
parent
9fd076375b
commit
be67ce0b0f
@ -2620,8 +2620,10 @@ mysql_execute_command(THD *thd)
|
||||
break;
|
||||
#endif
|
||||
case SQLCOM_SHOW_PROCESSLIST:
|
||||
#ifndef EMBEDDED_LIBRARY
|
||||
if (!thd->priv_user[0] && check_global_access(thd,PROCESS_ACL))
|
||||
break;
|
||||
#endif
|
||||
mysqld_list_processes(thd,thd->master_access & PROCESS_ACL ? NullS :
|
||||
thd->priv_user,lex->verbose);
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user