summaryrefslogtreecommitdiff
path: root/mysql-test/t/skip_grants.test
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2005-10-18 21:42:26 +0300
committerunknown <bell@sanja.is.com.ua>2005-10-18 21:42:26 +0300
commit89a5b23dc4589a1268e9d651b1b8651d83e60667 (patch)
tree3ad6f48c1f1fc9e6154a4680d67a70181cbf0f85 /mysql-test/t/skip_grants.test
parent9e3df6cc173bac95a5cbed45963bf3a577c7a9ab (diff)
downloadmariadb-git-89a5b23dc4589a1268e9d651b1b8651d83e60667.tar.gz
check of ACL initialization in is_acl_user() (BUG#13504)
mysql-test/r/skip_grants.result: creation view with DEFINER clause if --skip-grant-tables mysql-test/t/skip_grants.test: creation view with DEFINER clause if --skip-grant-tables sql/sql_acl.cc: check of ACL initialization in is_acl_user()
Diffstat (limited to 'mysql-test/t/skip_grants.test')
-rw-r--r--mysql-test/t/skip_grants.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/t/skip_grants.test b/mysql-test/t/skip_grants.test
index 156547ea6aa..7a729f98661 100644
--- a/mysql-test/t/skip_grants.test
+++ b/mysql-test/t/skip_grants.test
@@ -19,3 +19,11 @@ drop table t1;
#
create procedure f1() select 1;
drop procedure f1;
+
+#
+# BUG#13504: creation view with DEFINER clause if --skip-grant-tables
+#
+create table t1 (a int);
+create definer='user'@'host' sql security definer view v1 as select * from t1;
+drop view v1;
+drop table t1;