mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +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:
@@ -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;
|
|||||||
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);
|
||||||
|
Reference in New Issue
Block a user