mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fixed for parameterized.
This commit is contained in:
@@ -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('.');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user