improved sql parser. fixed issue #1311

This commit is contained in:
高铁
2016-06-29 02:01:22 +08:00
parent 1c1e28e103
commit eb5c8d708e
5 changed files with 100 additions and 10 deletions
@@ -765,6 +765,11 @@ public class SQLASTOutputVisitor extends SQLASTVisitorAdapter implements Printab
println();
x.getGroupBy().accept(this);
}
if (x.getOrderBy() != null) {
println();
x.getOrderBy().accept(this);
}
return false;
}