summaryrefslogtreecommitdiff
path: root/mysql-test/suite/funcs_2/charset/charset_master.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/funcs_2/charset/charset_master.test')
-rw-r--r--mysql-test/suite/funcs_2/charset/charset_master.test8
1 files changed, 7 insertions, 1 deletions
diff --git a/mysql-test/suite/funcs_2/charset/charset_master.test b/mysql-test/suite/funcs_2/charset/charset_master.test
index 63cd5eb303d..8f3ac64c753 100644
--- a/mysql-test/suite/funcs_2/charset/charset_master.test
+++ b/mysql-test/suite/funcs_2/charset/charset_master.test
@@ -11,6 +11,8 @@
# Add checking of prerequisites + minor cleanup #
#################################################################################
+set @save_character_set_database= @@character_set_database;
+
#
#
#
@@ -695,5 +697,9 @@ let $coll= utf8_unicode_ci;
}
+--echo # Cleanup
+--disable_query_log
DROP database test;
-CREATE database test;
+let $tmp=`select @save_character_set_database`;
+eval CREATE database test character set $tmp;
+--enable_query_log