From 89a5b23dc4589a1268e9d651b1b8651d83e60667 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 18 Oct 2005 21:42:26 +0300 Subject: 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() --- mysql-test/t/skip_grants.test | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'mysql-test/t/skip_grants.test') 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; -- cgit v1.2.1