性能测试

git-svn-id: http://code.alibabatech.com/svn/druid/trunk@371 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
wenshao
2011-07-11 08:01:19 +00:00
parent e05e740f68
commit 8721ab4f91
@@ -168,7 +168,8 @@ public class DruidDataSource extends DruidAbstractDataSource implements DruidDat
this.dbType = JdbcUtils.getDbType(jdbcUrl, driverClass.getClass().getName());
if ("mysql".equals(dbType)) {
this.validConnectionChecker = new MySqlValidConnectionChecker();
// this.validConnectionChecker = new MySqlValidConnectionChecker();
this.validConnectionChecker = null;
} else if ("oracle".equals(dbType)) {
this.validConnectionChecker = new OracleValidConnectionChecker();
} else if ("sqlserver".equals(dbType)) {