summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2002-02-14 15:04:14 +0200
committermonty@hundin.mysql.fi <>2002-02-14 15:04:14 +0200
commitb21f2d084fe6aa0b88bff54dbc0e07108ac79609 (patch)
tree0d680c0561aafef9a776a934933e4c31bcf50a12 /mysql-test
parentd76fcdc5e923c280e8ba11cf9b94a5ad6ed9f2f4 (diff)
downloadmariadb-git-b21f2d084fe6aa0b88bff54dbc0e07108ac79609.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 */;