TestSplitStatement.golden 749 字节
Newer Older
martianzhang's avatar
martianzhang 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
0 select * from test;
1 select 'asd;fas', col from test;
2 -- select * from test;hello
3 #select * from test;hello
4 select * /*comment*/from test;
5 select * /*comment;*/from test;
6 select * /*comment
		;*/
		from test;
7 select * from test
8 /*comment*/
9 /*comment*/;
10 --
11 -- comment
12 # comment
13 select
*
-- comment
martianzhang's avatar
martianzhang 已提交
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
from tb
where col = 1
14 select
* --
from tb
where col = 1
15 select
* #
from tb
where col = 1
16 select
*
--
from tb
where col = 1
martianzhang's avatar
martianzhang 已提交
34 35
17 
-- comment
martianzhang's avatar
martianzhang 已提交
36 37 38 39 40 41 42 43 44
0 select * from test\Ghello
1 select 'hello\Gworld', col from test\Ghello
2 -- select * from test\Ghello
3 #select * from test\Ghello
4 select * /*comment*/from test\Ghello
5 select * /*comment;*/from test\Ghello
6 select * /*comment
        \\G*/
        from test\\Ghello