bug fixed for parameterized.

This commit is contained in:
wenshao
2017-06-25 17:00:23 +08:00
parent 69548e4c2d
commit 4917ca5965
2 changed files with 62 additions and 1 deletions
@@ -1131,7 +1131,11 @@ public class SQLASTOutputVisitor extends SQLASTVisitorAdapter implements Paramet
if (mapTableName != null) {
print0(mapTableName);
} else {
owner.accept(this);
if (owner instanceof SQLIdentifierExpr && x.getParent() instanceof SQLExprTableSource) {
print0(((SQLIdentifierExpr) owner).getName());
} else {
owner.accept(this);
}
}
print('.');