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