summaryrefslogtreecommitdiff
path: root/mysql-test/t/mysql_comments.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/mysql_comments.test')
-rw-r--r--mysql-test/t/mysql_comments.test6
1 files changed, 3 insertions, 3 deletions
diff --git a/mysql-test/t/mysql_comments.test b/mysql-test/t/mysql_comments.test
index fb0e5f94950..54b85d4b8d9 100644
--- a/mysql-test/t/mysql_comments.test
+++ b/mysql-test/t/mysql_comments.test
@@ -1,5 +1,6 @@
# This test should work in embedded server after we fix mysqltest
-- source include/not_embedded.inc
+
###################### mysql_comments.test #############################
# #
# Testing of comments handling by the command line client (mysql) #
@@ -31,13 +32,12 @@ drop trigger if exists t1_bi;
# Test without comments
--echo "Pass 1 : --disable-comments"
--replace_regex /[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}(.[0-9]{2})*/--TIME--/
---exec $MYSQL --disable-comments test 2>&1 < "./t/mysql_comments.sql"
+--exec $MYSQL --default-character-set=latin1 --disable-comments test 2>&1 < "./t/mysql_comments.sql"
# Test with comments
--echo "Pass 2 : --enable-comments"
--replace_regex /[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}(.[0-9]{2})*/--TIME--/
---exec $MYSQL --enable-comments test 2>&1 < "./t/mysql_comments.sql"
-
+--exec $MYSQL --default-character-set=latin1 --enable-comments test 2>&1 < "./t/mysql_comments.sql"
set global sql_mode=default;
--echo End of 5.0 tests