summaryrefslogtreecommitdiff
path: root/mysql-test/t/comments.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/comments.test')
-rw-r--r--mysql-test/t/comments.test13
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/t/comments.test b/mysql-test/t/comments.test
index 0c6853cf298..3a18a8bd483 100644
--- a/mysql-test/t/comments.test
+++ b/mysql-test/t/comments.test
@@ -20,6 +20,19 @@ select 1 # The rest of the row will be ignored
# End of 4.1 tests
+#
+# Bug#25411 (trigger code truncated)
+#
+
+--error ER_PARSE_ERROR
+select 1/*!2*/;
+
+--error ER_PARSE_ERROR
+select 1/*!000002*/;
+
+select 1/*!999992*/;
+
+select 1 + /*!00000 2 */ + 3 /*!99999 noise*/ + 4;
#
# Bug#28779 (mysql_query() allows execution of statements with unbalanced