mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved sql parser.
This commit is contained in:
@@ -119,6 +119,10 @@ public class ParameterizedOutputVisitorUtils {
|
||||
return new PhoenixOutputVisitor(out, true);
|
||||
}
|
||||
|
||||
if (JdbcUtils.ELASTIC_SEARCH.equals(dbType)) {
|
||||
return new MySqlOutputVisitor(out, true);
|
||||
}
|
||||
|
||||
return new SQLASTOutputVisitor(out, true);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1897,9 +1897,6 @@ public class SQLASTOutputVisitor extends SQLASTVisitorAdapter implements Paramet
|
||||
|
||||
protected void printTableSourceExpr(SQLExpr expr) {
|
||||
if (exportTables) {
|
||||
if (expr instanceof SQLIdentifierExpr) {
|
||||
|
||||
}
|
||||
addTable(expr.toString());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user