summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/funcs_1/t/innodb_views.test
blob: dcab8ec305b1189fa71a131b4e147c95d2c66631 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#### suite/funcs_1/t/innodb_views.test

# InnoDB tables should be used
#
# 1. Check if InnoDB is available
--source include/have_innodb.inc
# 2. Set $engine_type
let $engine_type= innodb;

# Create some objects needed in many testcases
USE test;
--source suite/funcs_1/include/innodb_tb2.inc
--disable_warnings
DROP DATABASE IF EXISTS test1;
--enable_warnings
CREATE DATABASE test1;
USE test1;
--source suite/funcs_1/include/innodb_tb2.inc
USE test;

--source suite/funcs_1/views/views_master.inc
DROP DATABASE test1;
DROP TABLE test.tb2;