mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 05:52:27 +01:00
Add a test case for Bug#29817. The bug was fixed by the patch for
Bug#28318.
This commit is contained in:
parent
04bf5743b4
commit
c9d81cabd3
2 changed files with 12 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue