File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
main/jjtree/net/sf/jsqlparser/parser
test/java/net/sf/jsqlparser/statement/alter Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -1641,7 +1641,7 @@ String RelObjectName() :
1641
1641
{
1642
1642
(result = RelObjectNameWithoutValue()
1643
1643
| tk=<K_GROUP> | tk=<K_INTERVAL> | tk=<K_ON> | tk=<K_ORDER> | tk=<K_START> | tk=<K_TOP> | tk=<K_VALUE>
1644
- | tk=<K_VALUES> | tk=<K_CREATE> | tk=<K_TABLES> )
1644
+ | tk=<K_VALUES> | tk=<K_CREATE> | tk=<K_TABLES> )
1645
1645
1646
1646
{
1647
1647
if (tk!=null) result=tk.image;
@@ -1653,7 +1653,7 @@ String RelObjectNameWithoutStart() :
1653
1653
{ Token tk = null; String result = null; }
1654
1654
{
1655
1655
(result = RelObjectNameWithoutValue() | tk=<K_TOP> | tk=<K_VALUE> | tk=<K_VALUES>
1656
- | tk=<K_INTERVAL>)
1656
+ | tk=<K_INTERVAL> )
1657
1657
1658
1658
{
1659
1659
if (tk!=null) result=tk.image;
@@ -1672,7 +1672,7 @@ String RelObjectNameExt():
1672
1672
( result=RelObjectName() | tk=<K_ALL> | tk=<K_ANY> | tk=<K_SOME> | tk=<K_LEFT> | tk=<K_RIGHT> | tk=<K_SET>
1673
1673
| tk=<K_DOUBLE> | tk=<K_IF> | tk=<K_IIF> | tk=<K_OPTIMIZE> | tk=<K_LIMIT>
1674
1674
| tk=<K_OFFSET> | tk=<K_PROCEDURE> | tk=<K_PUBLIC>
1675
- | tk=<K_CASEWHEN> | tk=<K_IN> | tk=<K_GROUPING> )
1675
+ | tk=<K_CASEWHEN> | tk=<K_IN> | tk=<K_GROUPING> )
1676
1676
{
1677
1677
if (tk!=null) result=tk.image;
1678
1678
return result;
@@ -5792,7 +5792,7 @@ AlterSystemStatement AlterSystemStatement():
5792
5792
"QUIESCE" "RESTRICTED" { operation = AlterSystemOperation.QUIESCE; }
5793
5793
)
5794
5794
|
5795
- (
5795
+ (
5796
5796
"UNQUIESCE" { operation = AlterSystemOperation.UNQUIESCE; }
5797
5797
)
5798
5798
|
Original file line number Diff line number Diff line change 36
36
import net .sf .jsqlparser .statement .create .table .NamedConstraint ;
37
37
import net .sf .jsqlparser .statement .create .table .Index .ColumnParams ;
38
38
import net .sf .jsqlparser .statement .create .table .ForeignKeyIndex ;
39
- import net .sf .jsqlparser .statement .select .Select ;
40
- import net .sf .jsqlparser .util .validation .ValidationTestAsserts ;
41
- import net .sf .jsqlparser .util .validation .feature .DatabaseType ;
42
39
import org .junit .Test ;
43
40
44
41
public class AlterTest {
You can’t perform that action at this time.
0 commit comments