File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
src/main/jjtree/net/sf/jsqlparser/parser Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -5542,7 +5542,7 @@ Truncate Truncate():
55425542* [ RESTART IDENTITY | CONTINUE IDENTITY ] [ CASCADE | RESTRICT ]
55435543*
55445544*/
5545- <K_TRUNCATE> [<K_TABLE> {truncate.setTableToken(true);}] [<K_ONLY> {truncate.setOnly(true);}]
5545+ <K_TRUNCATE> [LOOKAHEAD(2) <K_TABLE> {truncate.setTableToken(true);}] [<K_ONLY> {truncate.setOnly(true);}]
55465546 table=Table() { truncate.setTable(table); truncate.setCascade(false); } [ <K_CASCADE> {truncate.setCascade(true);} ]
55475547 {
55485548 return truncate;
@@ -6066,11 +6066,7 @@ AlterSystemStatement AlterSystemStatement():
60666066 )
60676067 |
60686068 (
6069- "DISCONNECT" "SESSION" { operation = AlterSystemOperation.DISCONNECT_SESSION; }
6070- )
6071- |
6072- (
6073- "KILL" "SESSION" { operation = AlterSystemOperation.KILL_SESSION; }
6069+ "KILL SESSION" { operation = AlterSystemOperation.KILL_SESSION; }
60746070 )
60756071 |
60766072 (
You can’t perform that action at this time.
0 commit comments