don't rely on acceptURL

This commit is contained in:
User
2020-10-11 03:05:54 +02:00
parent edf061dc8e
commit b170382918

View File

@@ -363,7 +363,8 @@ public class BasicDataSource implements DataSource {
}
if (currentDriver != null && currentDriver.acceptsURL(dbUrl)) {
con = currentDriver.connect(dbUrl, info);
} else {
}
if (con == null) {
con = DriverManager.getConnection(dbUrl, info);
}
}