mysql parser, updateStatement support join tableSource

This commit is contained in:
wenshao
2011-11-17 09:43:14 +08:00
parent f353cb1794
commit f2efb27d86
5 changed files with 24 additions and 10 deletions
@@ -620,7 +620,7 @@ public class SQLASTOutputVisitor extends SQLASTVisitorAdapter {
public boolean visit(SQLUpdateStatement x) {
print("UPDATE ");
x.getTableName().accept(this);
x.getTableSource().accept(this);
print(" SET ");
for (int i = 0, size = x.getItems().size(); i < size; ++i) {