mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved mysql parser. bug fixed for issue #2263
This commit is contained in:
@@ -5188,6 +5188,11 @@ public class SQLASTOutputVisitor extends SQLASTVisitorAdapter implements Paramet
|
||||
public boolean visit(SQLAlterTableDiscardPartition x) {
|
||||
print0(ucase ? "DISCARD PARTITION " : "discard partition ");
|
||||
printPartitions(x.getPartitions());
|
||||
|
||||
if (x.isTablespace()) {
|
||||
print0(ucase ? " TABLESPACE" : " tablespace");
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user