bug fixed & optimzed Histogram memory used

This commit is contained in:
wenshao
2012-10-07 18:51:17 +08:00
parent efc1476480
commit d1ffe0682b
3 changed files with 59 additions and 39 deletions
@@ -1388,7 +1388,7 @@ public abstract class DruidAbstractDataSource extends WrapperAdapter implements
map.put("ResultSetLastErrorStackTrace", null);
// 35 - 39
map.put("ConnectionConnectCount", createErrorCount);
map.put("ConnectionConnectCount", this.getConnectCount());
if (createError != null) {
map.put("ConnectionErrorLastMessage", createError.getMessage());
map.put("ConnectionErrorLastStackTrace", IOUtils.getStackTrace(createError));