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():
5542
5542
* [ RESTART IDENTITY | CONTINUE IDENTITY ] [ CASCADE | RESTRICT ]
5543
5543
*
5544
5544
*/
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);}]
5546
5546
table=Table() { truncate.setTable(table); truncate.setCascade(false); } [ <K_CASCADE> {truncate.setCascade(true);} ]
5547
5547
{
5548
5548
return truncate;
@@ -6066,11 +6066,7 @@ AlterSystemStatement AlterSystemStatement():
6066
6066
)
6067
6067
|
6068
6068
(
6069
- "DISCONNECT" "SESSION" { operation = AlterSystemOperation.DISCONNECT_SESSION; }
6070
- )
6071
- |
6072
- (
6073
- "KILL" "SESSION" { operation = AlterSystemOperation.KILL_SESSION; }
6069
+ "KILL SESSION" { operation = AlterSystemOperation.KILL_SESSION; }
6074
6070
)
6075
6071
|
6076
6072
(
You can’t perform that action at this time.
0 commit comments