bug fixed for DruidDataSource fail-fast

This commit is contained in:
高铁
2016-02-05 12:58:45 +08:00
parent 9180914631
commit 43d13ffb10
2 changed files with 25 additions and 14 deletions
@@ -1475,7 +1475,9 @@ public abstract class DruidAbstractDataSource extends WrapperAdapter implements
if (ex == null) {
lock.lock();
try {
createError = null;
if (createError != null) {
createError = null;
}
} finally {
lock.unlock();
}