修正输出格式

git-svn-id: http://code.alibabatech.com/svn/druid/trunk@163 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
wenshao
2011-05-20 17:23:04 +00:00
parent a4044e8e96
commit 511edb5b63
12 changed files with 66 additions and 22 deletions
@@ -120,7 +120,7 @@ public class MySqlOutputVisitor extends SQLASTOutputVisitor implements MySqlASTV
print("SQL_CALC_FOUND_ROWS ");
}
printAndAccept(select.getSelectList(), ", ");
printSelectList(select.getSelectList());
if (select.getOutFile() != null) {
println();
@@ -646,7 +646,7 @@ public class OracleOutputVisitor extends SQLASTOutputVisitor implements OracleAS
print("*/ ");
}
printAndAccept(select.getSelectList(), ", ");
printSelectList(select.getSelectList());
println();
print("FROM ");