improved sql parser.

This commit is contained in:
wenshao
2017-06-08 15:16:22 +08:00
parent 41a56b3c92
commit 7c4a43d2c5
29 changed files with 375 additions and 23 deletions
@@ -2134,6 +2134,30 @@ public class OracleOutputVisitor extends SQLASTOutputVisitor implements OracleAS
x.getInitial().accept(this);
}
if (x.getNext() != null) {
println();
print0(ucase ? "NEXT " : "next ");
x.getNext().accept(this);
}
if (x.getMinExtents() != null) {
println();
print0(ucase ? "MINEXTENTS " : "minextents ");
x.getMinExtents().accept(this);
}
if (x.getMaxExtents() != null) {
println();
print0(ucase ? "MAXEXTENTS " : "maxextents ");
x.getMaxExtents().accept(this);
}
if (x.getPctIncrease() != null) {
println();
print0(ucase ? "PCTINCREASE " : "pctincrease ");
x.getPctIncrease().accept(this);
}
if (x.getMaxSize() != null) {
println();
print0(ucase ? "MAXSIZE " : "maxsize ");