summaryrefslogtreecommitdiff
path: root/mysql-test/t/skip_grants.test
diff options
context:
space:
mode:
authorunknown <kostja@bodhi.(none)>2007-11-22 14:48:03 +0300
committerunknown <kostja@bodhi.(none)>2007-11-22 14:48:03 +0300
commit6f9dfaa4b1efa5e5f0780429dcd2fb0663476d3c (patch)
tree1836f08f8edfa9f3e6efe8ccf0b29eef9e718381 /mysql-test/t/skip_grants.test
parentadd444a4a3acae1e038a3dd9f8dbe1e4ec6d549e (diff)
downloadmariadb-git-6f9dfaa4b1efa5e5f0780429dcd2fb0663476d3c.tar.gz
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
Diffstat (limited to 'mysql-test/t/skip_grants.test')
-rw-r--r--mysql-test/t/skip_grants.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/t/skip_grants.test b/mysql-test/t/skip_grants.test
index 5e0fc65bc34..8e543b9e38c 100644
--- a/mysql-test/t/skip_grants.test
+++ b/mysql-test/t/skip_grants.test
@@ -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);