summaryrefslogtreecommitdiff
path: root/mysql-test/t/skip_grants.test
blob: 99223fa47563b9d19f30a5b0b7eb8c2faf71a202 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--disable_warnings
drop table if exists t1,v1;
drop view if exists t1,v1;
drop procedure if exists f1;
--enable_warnings
use test;

#
# test that we can create VIEW if privileges check switched off
#
create table t1 (field1 INT);
CREATE VIEW v1 AS SELECT field1 FROM t1;

drop view v1;
drop table t1;

#
# Test that we can create and drop procedure without warnings
# see bug#9993
#
create procedure f1() select 1;
drop procedure f1;