File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
main/jjtree/net/sf/jsqlparser/parser
test/java/net/sf/jsqlparser/statement/select Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 11
11
options{
12
12
IGNORE_CASE = true ;
13
13
STATIC = false;
14
- DEBUG_PARSER = false ;
14
+ DEBUG_PARSER = true ;
15
15
DEBUG_LOOKAHEAD = false;
16
16
DEBUG_TOKEN_MANAGER = false;
17
17
CACHE_TOKENS = false;
Original file line number Diff line number Diff line change @@ -3744,4 +3744,9 @@ public void testEmptyDoubleQuotes() throws JSQLParserException {
3744
3744
public void testEmptyDoubleQuotes_2 () throws JSQLParserException {
3745
3745
assertSqlCanBeParsedAndDeparsed ("SELECT * FROM mytable WHERE col = \" \" " );
3746
3746
}
3747
+
3748
+ @ Test
3749
+ public void testInnerWithBlock () throws JSQLParserException {
3750
+ assertSqlCanBeParsedAndDeparsed ("select 1 from (with mytable1 as (select 2 ) select 3 from mytable1 ) first" , true );
3751
+ }
3747
3752
}
You can’t perform that action at this time.
0 commit comments