summaryrefslogtreecommitdiff
path: root/mysql-test/r/skip_grants.result
diff options
context:
space:
mode:
authorunknown <SergeyV@selena.>2006-02-27 16:27:34 +0300
committerunknown <SergeyV@selena.>2006-02-27 16:27:34 +0300
commit51316b017aebb9879d519c27f10742bdd718d01e (patch)
tree47b89079e617880b2af2982d2217491d1dd8368d /mysql-test/r/skip_grants.result
parentb97082c5836a48ff792183c555dcc3f41f0d5453 (diff)
downloadmariadb-git-51316b017aebb9879d519c27f10742bdd718d01e.tar.gz
Fixes bug #17595. UDFs are not initialized when running mysqld with
--skip-grant-tables. However when deleting functions UDFs list was checked regardless of whther UDFs are initialized or not. Additional check is added into free_udf() and find_udf() functions to prevent possible runtime errors. mysql-test/r/skip_grants.result: Test result for #17595 patch. mysql-test/t/skip_grants.test: Test for #17595 patch.
Diffstat (limited to 'mysql-test/r/skip_grants.result')
-rw-r--r--mysql-test/r/skip_grants.result3
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/r/skip_grants.result b/mysql-test/r/skip_grants.result
index 5dc770a7363..95464ee4ce5 100644
--- a/mysql-test/r/skip_grants.result
+++ b/mysql-test/r/skip_grants.result
@@ -12,3 +12,6 @@ create table t1 (a int);
create definer='user'@'host' sql security definer view v1 as select * from t1;
drop view v1;
drop table t1;
+drop function if exists f1;
+Warnings:
+Note 1305 FUNCTION f1 does not exist