支持removeAbandoned

git-svn-id: http://code.alibabatech.com/svn/druid/trunk@514 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
wenshao
2011-07-25 13:24:39 +00:00
parent 26666ed37b
commit f612aa1a7b
4 changed files with 1414 additions and 109 deletions
@@ -135,7 +135,7 @@ public class PoolableConnection implements PooledConnection, Connection {
DruidAbstractDataSource dataSource = holder.getDataSource();
if (dataSource.isRemoveAbandoned()) {
dataSource.getActiveConnectionStackTrace().remove(this);
dataSource.removeActiveConnection(this);
}
for (ConnectionEventListener listener : holder.getConnectionEventListeners()) {