mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
remove OracleOrderByItem
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user