remove OracleOrderByItem

This commit is contained in:
高铁
2016-01-10 16:12:17 +08:00
parent 6fa8ec32ac
commit fa265636f0
16 changed files with 53 additions and 214 deletions
@@ -744,7 +744,11 @@ public class SQLASTOutputVisitor extends SQLASTVisitorAdapter implements Printab
incrementIndent();
for (int i = 0; i < itemSize; ++i) {
if (i != 0) {
println(", ");
if (groupItemSingleLine) {
println(", ");
} else {
print(", ");
}
}
x.getItems().get(i).accept(this);
}
@@ -757,10 +761,14 @@ public class SQLASTOutputVisitor extends SQLASTVisitorAdapter implements Printab
x.getHaving().accept(this);
}
if (x.isRollUp()) {
if (x.isWithRollUp()) {
print0(ucase ? " WITH ROLLUP" : " with rollup");
}
if (x.isWithCube()) {
print0(ucase ? " WITH CUBE" : " with cube");
}
return false;
}