summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/funcs_1/t/innodb_views.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/funcs_1/t/innodb_views.test')
-rw-r--r--mysql-test/suite/funcs_1/t/innodb_views.test24
1 files changed, 24 insertions, 0 deletions
diff --git a/mysql-test/suite/funcs_1/t/innodb_views.test b/mysql-test/suite/funcs_1/t/innodb_views.test
new file mode 100644
index 00000000..dcab8ec3
--- /dev/null
+++ b/mysql-test/suite/funcs_1/t/innodb_views.test
@@ -0,0 +1,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;
+