mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
fix #778
This commit is contained in:
@@ -32,5 +32,11 @@ public class JdbcUtilsTest extends TestCase {
|
||||
String dbType = JdbcUtils.getDbType(jdbcUrl, null);
|
||||
assertEquals("not support cobar driver, url like jdbc:cobar:...", JdbcConstants.MYSQL, dbType);
|
||||
}
|
||||
|
||||
public void test_log4jdbc_mysql() {
|
||||
String jdbcUrl = "jdbc:log4jdbc:mysql://localhost:8066/test";
|
||||
String dbType = JdbcUtils.getDbType(jdbcUrl, null);
|
||||
assertEquals("not support log4jdbc mysql, url like jdbc:log4jdbc:mysql:...", JdbcConstants.MYSQL, dbType);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user