Skip to content

Commit 68d0121

Browse files
committed
1 parent 1d1b625 commit 68d0121

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/main/jjtree/net/sf/jsqlparser/parser/JSqlParserCC.jjt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
options{
1212
IGNORE_CASE = true ;
1313
STATIC = false;
14-
DEBUG_PARSER = false;
14+
DEBUG_PARSER = true;
1515
DEBUG_LOOKAHEAD = false;
1616
DEBUG_TOKEN_MANAGER = false;
1717
CACHE_TOKENS = false;

src/test/java/net/sf/jsqlparser/statement/select/SelectTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3744,4 +3744,9 @@ public void testEmptyDoubleQuotes() throws JSQLParserException {
37443744
public void testEmptyDoubleQuotes_2() throws JSQLParserException {
37453745
assertSqlCanBeParsedAndDeparsed("SELECT * FROM mytable WHERE col = \" \"");
37463746
}
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+
}
37473752
}

0 commit comments

Comments
 (0)