Skip to content
Permalink
Browse files
added workaround for weird mariadb behaviour
  • Loading branch information
mgeiss committed Apr 20, 2017
1 parent 6f0c108 commit d2ba26084aad094658ce30ac10fd039bb496c096
Showing 1 changed file with 2 additions and 1 deletion.
@@ -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() + "'");
}

0 comments on commit d2ba260

Please sign in to comment.