summaryrefslogtreecommitdiff
path: root/mysql-test/r/comments.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/r/comments.result')
-rw-r--r--mysql-test/r/comments.result14
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/r/comments.result b/mysql-test/r/comments.result
index 99fab38d7a7..77c520b0c64 100644
--- a/mysql-test/r/comments.result
+++ b/mysql-test/r/comments.result
@@ -26,6 +26,20 @@ select 1 # The rest of the row will be ignored
1
1
/* line with only comment */;
+select 1 /*M! +1 */;
+1 +1
+2
+select 1 /*M!50000 +1 */;
+1 +1
+2
+select 1 /*M!50300 +1 */;
+1 +1
+2
+select 2 /*M!99999 +1 */;
+2
+2
+select 2 /*M!0000 +1 */;
+ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '0000 +1 */' at line 1
select 1/*!2*/;
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '2*/' at line 1
select 1/*!000002*/;