Skip to content

Commit

Permalink
[misc] missing commit file
Browse files Browse the repository at this point in the history
  • Loading branch information
rusher committed Aug 30, 2016
1 parent 5c3a310 commit d406ff4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/test/java/org/mariadb/jdbc/BaseTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,14 @@ protected Connection setConnection(String parameters) throws SQLException {
return openConnection(connUri + parameters, null);
}

protected Connection setBlankConnection(String parameters) throws SQLException {
return openConnection(connU
+ "?user=" + username
+ (password != null && !"".equals(password) ? "&password=" + password : "")
+ parameters, null);
}


protected Connection setConnection(String additionnallParameters, String database) throws SQLException {
String connU = "jdbc:mysql://" + ((hostname == null) ? "localhost" : hostname) + ":" + port + "/" + database;
String connUri = connU + "?user=" + username
Expand Down

0 comments on commit d406ff4

Please sign in to comment.