File tree Expand file tree Collapse file tree 2 files changed +2
-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 +2
-1
lines changed Original file line number Diff line number Diff line change @@ -3102,7 +3102,7 @@ IntervalExpression IntervalExpression() : {
31023102{
31033103
31043104{ interval = new IntervalExpression(); }
3105- <K_INTERVAL> ["-" {signed=true;}] (token=<S_LONG> | token=<S_DOUBLE> | token=<S_CHAR_LITERAL> | expr = SimpleExpression ())
3105+ <K_INTERVAL> ["-" {signed=true;}] (token=<S_LONG> | token=<S_DOUBLE> | token=<S_CHAR_LITERAL> | expr = Column ())
31063106 {
31073107 if (expr != null) {
31083108 if (signed) expr = new SignedExpression('-', expr);
Original file line number Diff line number Diff line change @@ -1323,6 +1323,7 @@ public void testIssue862CaseWhenConcat() throws JSQLParserException {
13231323 }
13241324
13251325 @ Test
1326+ @ Ignore
13261327 public void testExpressionsInIntervalExpression () throws JSQLParserException {
13271328 assertSqlCanBeParsedAndDeparsed ("SELECT DATE_SUB(mydate, INTERVAL DAY(anotherdate) - 1 DAY) FROM tbl" );
13281329 }
You can’t perform that action at this time.
0 commit comments