1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

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
This commit is contained in:
unknown
2007-11-22 14:48:03 +03:00
parent add444a4a3
commit 6f9dfaa4b1
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);