summaryrefslogtreecommitdiff
path: root/mysql-test/t/mysql_delimiter.sql
diff options
context:
space:
mode:
authorGleb Shchepa <gshchepa@mysql.com>2008-06-24 19:32:06 +0500
committerGleb Shchepa <gshchepa@mysql.com>2008-06-24 19:32:06 +0500
commit6eb2e76abdbf903d6b3848961f942c7d41d640a0 (patch)
tree2c3627f00a3b2c68aab68c9a06faf55695b2dca7 /mysql-test/t/mysql_delimiter.sql
parent2356d4f54ae3d360ec469be9d5dbc1c7e807a1f3 (diff)
downloadmariadb-git-6eb2e76abdbf903d6b3848961f942c7d41d640a0.tar.gz
Bug #36244: MySQL CLI doesn't recognize standalone --
as a commentary mysql client has been modified to interpret EOL after standalone -- commentary strings like whitespace character (according to http://dev.mysql.com/doc/refman/5.0/en/ansi-diff-comments.html) mysql-test/t/mysql_delimiter.sql: Added test case for bug #36244.
Diffstat (limited to 'mysql-test/t/mysql_delimiter.sql')
-rw-r--r--mysql-test/t/mysql_delimiter.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/t/mysql_delimiter.sql b/mysql-test/t/mysql_delimiter.sql
index db679c3b06b..533ac2ce093 100644
--- a/mysql-test/t/mysql_delimiter.sql
+++ b/mysql-test/t/mysql_delimiter.sql
@@ -59,3 +59,10 @@ source t/mysql_delimiter_19799.sql
use test//
show tables//
delimiter ; # Reset delimiter
+
+#
+# Bug #36244: MySQL CLI doesn't recognize standalone -- as comment
+# before DELIMITER statement
+#
+--
+DELIMITER ;