add testcase & bug fixed

This commit is contained in:
wenshao
2012-08-24 22:12:34 +08:00
parent ba6a699c20
commit 41efb5dcbe
6 changed files with 329 additions and 9 deletions
@@ -1515,6 +1515,8 @@ public abstract class DruidAbstractDataSource extends WrapperAdapter implements
return;
}
closedPreparedStatementCount.incrementAndGet();
decrementCachedPreparedStatementCount();
incrementCachedPreparedStatementDeleteCount();
JdbcUtils.close(stmtHolder.getStatement());
}