summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2002-02-14 15:04:14 +0200
committerunknown <monty@hundin.mysql.fi>2002-02-14 15:04:14 +0200
commit48664555589674457880e1b202c0339ea3b15180 (patch)
tree0d680c0561aafef9a776a934933e4c31bcf50a12 /mysql-test
parent01f1db421f3d8fca547500eff34feafe132d6332 (diff)
downloadmariadb-git-48664555589674457880e1b202c0339ea3b15180.tar.gz
Don't give warnings for empty statements with comments
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/t/comments.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/mysql-test/t/comments.test b/mysql-test/t/comments.test
index a85419c0295..2fc6237907c 100644
--- a/mysql-test/t/comments.test
+++ b/mysql-test/t/comments.test
@@ -5,7 +5,7 @@
select 1+2/*hello*/+3;
select 1 /* long
multi line comment */;
-!$1065 /* empty query */;
+!$1065 ;
select 1 /*!32301 +1 */;
select 1 /*!52301 +1 */;
select 1--1;
@@ -15,3 +15,4 @@ select 1 --2
+1;
select 1 # The rest of the row will be ignored
;
+/* line with only comment */;