enhance schema stat

This commit is contained in:
温少
2012-02-24 09:42:39 +08:00
parent e200714281
commit 8c7352beca
53 changed files with 351 additions and 217 deletions
@@ -91,6 +91,10 @@ public class MySqlOutputVisitor extends SQLASTOutputVisitor implements MySqlASTV
}
public boolean visit(MySqlSelectQueryBlock select) {
if (select.getOrderBy() != null) {
select.getOrderBy().setParent(select);
}
print("SELECT ");
if (SQLSetQuantifier.ALL == select.getDistionOption()) print("ALL ");