git-svn-id: http://code.alibabatech.com/svn/druid/trunk@604 b9813039-fb51-4c41-a8b9-e21c2acb5095

This commit is contained in:
wenshao
2011-09-02 18:52:03 +00:00
parent 14ce5144c5
commit ed14b12179
@@ -423,9 +423,7 @@ public class DruidDataSource extends DruidAbstractDataSource implements DruidDat
lock.unlock();
}
} catch (InterruptedException e) {
if (!conn.isClosed()) {
conn.close();
}
JdbcUtils.close(conn);
throw new SQLException(e.getMessage(), e);
} catch (SQLException e) {