summaryrefslogtreecommitdiff
path: root/mysql-test/main/mysqldump-utf8mb4.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/mysqldump-utf8mb4.test')
-rw-r--r--mysql-test/main/mysqldump-utf8mb4.test7
1 files changed, 4 insertions, 3 deletions
diff --git a/mysql-test/main/mysqldump-utf8mb4.test b/mysql-test/main/mysqldump-utf8mb4.test
index f8512c9bd7b..38b7527c5d6 100644
--- a/mysql-test/main/mysqldump-utf8mb4.test
+++ b/mysql-test/main/mysqldump-utf8mb4.test
@@ -1,5 +1,6 @@
--source include/have_utf8mb4.inc
--source include/not_embedded.inc
+--source include/default_charset.inc
SET NAMES utf8mb4;
@@ -18,14 +19,14 @@ INSERT INTO t1 VALUES ('01f300', UNHEX('f09f8c80'), 'U+1F300 CYCLONE');
--echo Testing XML format output
--echo ----
---exec $MYSQL_DUMP --skip-create-options --skip-comments -X test t1
+--exec $MYSQL_DUMP --default-character-set=utf8mb4 --skip-create-options --skip-comments -X test t1
--echo ----
--echo Testing text format output
--echo ----
---exec $MYSQL_DUMP --skip-create-options --skip-comments test t1
+--exec $MYSQL_DUMP --default-character-set=utf8mb4 --skip-create-options --skip-comments test t1
DROP TABLE t1;
@@ -42,7 +43,7 @@ CREATE TABLE t1 (
) CHARACTER SET utf8mb4;
INSERT INTO t1 VALUES ('01f300', UNHEX('f09f8c80'), 'U+1F300 CYCLONE');
---exec $MYSQL_DUMP test t1 > $file
+--exec $MYSQL_DUMP --default-character-set=utf8mb4 test t1 > $file
DROP TABLE t1;
--exec $MYSQL test < $file
SELECT * FROM t1;