mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fixed for SchemaStatVisitor.
This commit is contained in:
@@ -220,7 +220,7 @@ public class TableStat {
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return this.name;
|
||||
return SQLUtils.normalize(this.name);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -545,10 +545,10 @@ public class TableStat {
|
||||
|
||||
public String toString() {
|
||||
if (table != null) {
|
||||
return table + "." + name;
|
||||
return SQLUtils.normalize(table) + "." + SQLUtils.normalize(name);
|
||||
}
|
||||
|
||||
return name;
|
||||
return SQLUtils.normalize(name);
|
||||
}
|
||||
|
||||
public boolean equals(Object obj) {
|
||||
|
||||
Reference in New Issue
Block a user