diff options
author | unknown <gluh@mysql.com/eagle.(none)> | 2007-11-30 18:48:22 +0400 |
---|---|---|
committer | unknown <gluh@mysql.com/eagle.(none)> | 2007-11-30 18:48:22 +0400 |
commit | ff7e7fcb6794d243b8324c3a76359a9c5ac68710 (patch) | |
tree | 9fe6cf2ef16a15517abc0820b5b91d8347a126f2 /mysql-test/t | |
parent | f4a7464f1e259840216de264b246568ea2694109 (diff) | |
download | mariadb-git-ff7e7fcb6794d243b8324c3a76359a9c5ac68710.tar.gz |
Bug#32775 problems with SHOW EVENTS and Information_Schema
removed unnecessary privilege checks for I_S schema
mysql-test/r/information_schema.result:
test result
mysql-test/t/information_schema.test:
test case
sql/events.cc:
There is no events in I_S so we don't need to execute check_access here.
sql/sql_parse.cc:
removed unnecessary check
Diffstat (limited to 'mysql-test/t')
-rw-r--r-- | mysql-test/t/information_schema.test | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/t/information_schema.test b/mysql-test/t/information_schema.test index 2dd19a94758..0d53c404fa9 100644 --- a/mysql-test/t/information_schema.test +++ b/mysql-test/t/information_schema.test @@ -1238,4 +1238,12 @@ select * from `information_schema`.`VIEWS` where `TABLE_NAME` = NULL; # explain extended select 1 from information_schema.tables; +# +# Bug#32775 problems with SHOW EVENTS and Information_Schema +# +use information_schema; +show events; +show events from information_schema; +show events where Db= 'information_schema'; + --echo End of 5.1 tests. |