Skip to content

Commit 992e7b1

Browse files
committed
Add new test cases of managements of '*/*'.
1 parent f4fd1e0 commit 992e7b1

File tree

2 files changed

+130
-7
lines changed

2 files changed

+130
-7
lines changed
Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,33 @@
11
SELECT */* comment */
2+
23
SELECT /* comment */*
4+
35
SELECT 2*/* comment */3
4-
SELECT 2/* comment */*3
6+
7+
SELECT 2/* comment */*3
8+
9+
SELECT */*
10+
comment
11+
on
12+
multiple
13+
lines
14+
*/FROM
15+
16+
DELETE foo.*/* foo */ USING
17+
18+
DELETE foo.*/* foo */,bar.*/*bar*/ USING
19+
20+
SELECT `*`/*with comment*/ AS star_field
21+
22+
SELECT `*`,*/*with comment*/
23+
24+
DELETE a.*/*multi
25+
line /* with C open tag
26+
comment inside */ USING
27+
28+
SELECT 2*/* operator */3 + 3/* operator */*2,/* start wildcard */*/* end wildcard */
29+
30+
SELECT `*`/*a*/*/*b*/`*`
31+
32+
-- invalid queries
33+
/* SELECT */*

0 commit comments

Comments
 (0)