mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
SQLExprTableSource improved
This commit is contained in:
@@ -87,6 +87,14 @@ public class SQLExprTableSource extends SQLTableSourceImpl implements SQLReplace
|
||||
return null;
|
||||
}
|
||||
|
||||
public String getTableName(boolean normalize) {
|
||||
String tableName = getTableName();
|
||||
if (normalize) {
|
||||
return SQLUtils.normalize(tableName);
|
||||
}
|
||||
return tableName;
|
||||
}
|
||||
|
||||
public String getTableName() {
|
||||
if (expr == null) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user