bug fixed for initExceptionThrow

This commit is contained in:
wenshao
2018-08-22 18:06:03 +08:00
parent a40071a3cb
commit 14c151ba06
3 changed files with 5 additions and 5 deletions
@@ -887,7 +887,7 @@ public class DruidDataSource extends DruidAbstractDataSource implements DruidDat
initedTime = new Date();
registerMbean();
if (connectError != null && poolingCount == 0 && !(initExceptionThrow && !asyncInit)) {
if (connectError != null && poolingCount == 0) {
throw connectError;
}