diff options
author | Michael Widenius <monty@mariadb.org> | 2018-03-09 14:05:35 +0200 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2018-03-29 13:59:44 +0300 |
commit | a7abddeffa6a760ce948c2dfb007cdf3f1a369d5 (patch) | |
tree | 70eb743fa965a17380bbc0ac88ae79ca1075b896 /mysql-test/t/mysql_comments.test | |
parent | ab1941266c59a19703a74b5593cf3f508a5752d7 (diff) | |
download | mariadb-git-a7abddeffa6a760ce948c2dfb007cdf3f1a369d5.tar.gz |
Create 'main' test directory and move 't' and 'r' there
Diffstat (limited to 'mysql-test/t/mysql_comments.test')
-rw-r--r-- | mysql-test/t/mysql_comments.test | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/mysql-test/t/mysql_comments.test b/mysql-test/t/mysql_comments.test deleted file mode 100644 index fb0e5f94950..00000000000 --- a/mysql-test/t/mysql_comments.test +++ /dev/null @@ -1,43 +0,0 @@ -# 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) # -# # -# Creation: # -# 2007-10-29 akopytov Implemented this test as a part of fixes for # -# bug #26215 and bug #11230 # -# # -######################################################################## - -set global sql_mode=""; - -# -# Bug #11230: Keeping comments when storing stored procedures -# - -# See the content of mysql_comments.sql -# Set the test database to a known state before running the tests. ---disable_warnings -drop table if exists t1; -drop function if exists foofct; -drop procedure if exists empty; -drop procedure if exists foosp; -drop procedure if exists nicesp; -drop trigger if exists t1_empty; -drop trigger if exists t1_bi; ---enable_warnings - -# 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" - - -set global sql_mode=default; ---echo End of 5.0 tests |