mirror of
https://github.com/Wisser/Jailer.git
synced 2026-02-21 18:28:37 -06:00
don't rely on acceptURL
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user