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.test15
1 files changed, 15 insertions, 0 deletions
diff --git a/mysql-test/t/comments.test b/mysql-test/t/comments.test
index 52273ec9523..8ae6ba5779e 100644
--- a/mysql-test/t/comments.test
+++ b/mysql-test/t/comments.test
@@ -19,3 +19,18 @@ select 1 # The rest of the row will be ignored
/* line with only comment */;
# 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;
+