summaryrefslogtreecommitdiff
path: root/mysql-test/t/schema.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/schema.test')
-rw-r--r--mysql-test/t/schema.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/t/schema.test b/mysql-test/t/schema.test
index d9bd607b2db..a08d9b38935 100644
--- a/mysql-test/t/schema.test
+++ b/mysql-test/t/schema.test
@@ -1,6 +1,12 @@
#
# Just a couple of tests to make sure that schema works.
#
+# Drop mysqltest1 database, as it can left from the previous tests.
+#
+
+--disable_warnings
+drop database if exists mysqltest1;
+--enable_warnings
create schema foo;
show create schema foo;