mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
add DruidConnectionHolder testcase & bug fixed
This commit is contained in:
@@ -215,10 +215,9 @@ public final class DruidConnectionHolder {
|
||||
buf.append("\"");
|
||||
}
|
||||
|
||||
PreparedStatementPool statmentPool = this.getStatementPool();
|
||||
if (statmentPool != null && statmentPool.getMap().size() > 0) {
|
||||
if (statementPool != null && statementPool.getMap().size() > 0) {
|
||||
buf.append("\", CachedStatementCount:");
|
||||
buf.append(this.getStatementPool().getMap().size());
|
||||
buf.append(statementPool.getMap().size());
|
||||
}
|
||||
|
||||
buf.append("}");
|
||||
|
||||
Reference in New Issue
Block a user