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

Bug#28318.
This commit is contained in:
kostja@bodhi.(none) 2007-11-22 14:48:03 +03:00
parent 04bf5743b4
commit c9d81cabd3
2 changed files with 12 additions and 0 deletions

View file

@ -72,3 +72,9 @@ count(*)
select count(*) from information_schema.USER_PRIVILEGES;
count(*)
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

View file

@ -122,3 +122,9 @@ select count(*) from information_schema.COLUMN_PRIVILEGES;
select count(*) from information_schema.SCHEMA_PRIVILEGES;
select count(*) from information_schema.TABLE_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);