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.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/t/mysql_comments.test b/mysql-test/t/mysql_comments.test
index 7b00f17e259..fb0e5f94950 100644
--- a/mysql-test/t/mysql_comments.test
+++ b/mysql-test/t/mysql_comments.test
@@ -30,10 +30,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"
# 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"