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 @@ -1332,7 +1332,7 @@ String RelObjectNameWithoutValue() :
1332
1332
| tk=<K_READ> | tk=<K_SCHEMA> | tk=<K_SIZE> | tk=<K_SESSION>
1333
1333
| tk=<K_VIEW> | tk=<K_NOLOCK> | tk=<K_VALIDATE> | tk=<K_CYCLE> | tk=<K_OF> | tk=<K_EXCLUDE>
1334
1334
/*| tk=<K_PLACING> | tk=<K_BOTH> | tk=<K_LEADING> | tk=<K_TRAILING> */
1335
- | tk=<K_FORMAT>
1335
+ | tk=<K_FORMAT> | tk=<K_DIV>
1336
1336
)
1337
1337
1338
1338
{ return tk.image; }
Original file line number Diff line number Diff line change @@ -4321,4 +4321,9 @@ public void testIssue1062() throws JSQLParserException {
4321
4321
public void testIssue1062_2 () throws JSQLParserException {
4322
4322
assertSqlCanBeParsedAndDeparsed ("SELECT * FROM mytable WHERE temperature.timestamp <= @until AND temperature.timestamp >= @from" );
4323
4323
}
4324
+
4325
+ @ Test
4326
+ public void testIssue1068 () throws JSQLParserException {
4327
+ assertSqlCanBeParsedAndDeparsed ("SELECT t2.c AS div" );
4328
+ }
4324
4329
}
You can’t perform that action at this time.
0 commit comments