bug fixed

git-svn-id: http://code.alibabatech.com/svn/druid/trunk@570 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
wenshao
2011-09-02 15:14:08 +00:00
parent 1d2217cbcc
commit b170f6ed26
@@ -307,11 +307,11 @@ public class DruidDataSource extends DruidAbstractDataSource implements DruidDat
lock.lock();
try {
connectCount++;
if (!enable) {
throw new DataSourceDisableException();
}
connectCount++;
ConnectionHolder holder;
for (;;) {