Commit 6f9dfaa4 authored by unknown's avatar unknown

Add a test case for Bug#29817. The bug was fixed by the patch for

Bug#28318.


mysql-test/r/skip_grants.result:
  Add a test case for Bug#29817
mysql-test/t/skip_grants.test:
  Add a test case for Bug#29817
parent add444a4
...@@ -72,3 +72,9 @@ count(*) ...@@ -72,3 +72,9 @@ count(*)
select count(*) from information_schema.USER_PRIVILEGES; select count(*) from information_schema.USER_PRIVILEGES;
count(*) count(*)
0 0
#
# Bug#29817 Queries with UDF fail with non-descriptive error
# if mysql.proc is missing
#
select no_such_function(1);
ERROR 42000: FUNCTION test.no_such_function does not exist
...@@ -122,3 +122,9 @@ select count(*) from information_schema.COLUMN_PRIVILEGES; ...@@ -122,3 +122,9 @@ select count(*) from information_schema.COLUMN_PRIVILEGES;
select count(*) from information_schema.SCHEMA_PRIVILEGES; select count(*) from information_schema.SCHEMA_PRIVILEGES;
select count(*) from information_schema.TABLE_PRIVILEGES; select count(*) from information_schema.TABLE_PRIVILEGES;
select count(*) from information_schema.USER_PRIVILEGES; select count(*) from information_schema.USER_PRIVILEGES;
--echo #
--echo # Bug#29817 Queries with UDF fail with non-descriptive error
--echo # if mysql.proc is missing
--echo #
--error ER_SP_DOES_NOT_EXIST
select no_such_function(1);
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