Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

Commit

Permalink
added workaround for weird mariadb behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeiss committed Apr 20, 2017
1 parent 6f0c108 commit d2ba260
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/io/mifos/core/mariadb/util/JdbcUrlBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ public String build() {
return this.type.prefix()
+ this.host + ":"
+ this.port
+ (this.instanceName != null ? "/" + this.instanceName : "");
+ (this.instanceName != null ? "/" + this.instanceName : "")
+ "?useServerPrepStmts=false";
default:
throw new IllegalArgumentException("Unknown database type '" + this.type.name() + "'");
}
Expand Down

0 comments on commit d2ba260

Please sign in to comment.