1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Bug#32775 problems with SHOW EVENTS and Information_Schema

removed unnecessary privilege checks for I_S schema
This commit is contained in:
gluh@mysql.com/eagle.(none)
2007-11-30 18:48:22 +04:00
parent 1b3e95e1da
commit b0ca512778
4 changed files with 17 additions and 6 deletions

View File

@ -1855,10 +1855,6 @@ mysql_execute_command(THD *thd)
switch (lex->sql_command) {
case SQLCOM_SHOW_EVENTS:
if ((res= check_access(thd, EVENT_ACL, thd->lex->select_lex.db, 0, 0, 0,
is_schema_db(thd->lex->select_lex.db))))
break;
/* fall through */
case SQLCOM_SHOW_STATUS_PROC:
case SQLCOM_SHOW_STATUS_FUNC:
res= execute_sqlcom_select(thd, all_tables);