File tree Expand file tree Collapse file tree 2 files changed +4
-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 +4
-1
lines changed Original file line number Diff line number Diff line change @@ -1690,7 +1690,7 @@ String RelObjectNameWithoutValue() :
1690
1690
| tk=<K_ARRAY_LITERAL>
1691
1691
| tk=<K_STRING_FUNCTION_NAME>
1692
1692
| tk=<K_USER>
1693
- | tk=<K_RECYCLEBIN> | tk=<K_DBA_RECYCLEBIN>
1693
+ | tk=<K_RECYCLEBIN> | tk=<K_DBA_RECYCLEBIN> | tk=<K_ISOLATION>
1694
1694
1695
1695
/* Keywords for ALTER SESSION */
1696
1696
/* | tk=<K_NAME> */ | tk=<K_TIMEOUT> | tk=<K_PARALLEL>
Original file line number Diff line number Diff line change @@ -5193,6 +5193,9 @@ public void testWithIsolation() throws JSQLParserException {
5193
5193
isolation = ((PlainSelect ) select .getSelectBody ()).getWithIsolation ().getIsolation ();
5194
5194
assertEquals ("Cs" , isolation );
5195
5195
assertSqlCanBeParsedAndDeparsed (statement );
5196
+
5197
+ statement = "SELECT rs.col, * FROM mytable RS WHERE mytable.col = 9" ;
5198
+ assertSqlCanBeParsedAndDeparsed (statement );
5196
5199
}
5197
5200
5198
5201
@ Test
You can’t perform that action at this time.
0 commit comments