fineract-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From my...@apache.org
Subject [fineract-cn-mariadb] 02/14: added workaround for weird mariadb behaviour
Date Mon, 22 Jan 2018 15:11:51 GMT
This is an automated email from the ASF dual-hosted git repository.

myrle pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract-cn-mariadb.git

commit d2ba26084aad094658ce30ac10fd039bb496c096
Author: mgeiss <mgeiss@mifos.org>
AuthorDate: Thu Apr 20 20:11:18 2017 +0200

    added workaround for weird mariadb behaviour
---
 src/main/java/io/mifos/core/mariadb/util/JdbcUrlBuilder.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/main/java/io/mifos/core/mariadb/util/JdbcUrlBuilder.java b/src/main/java/io/mifos/core/mariadb/util/JdbcUrlBuilder.java
index 3c2576d..dbddabd 100644
--- a/src/main/java/io/mifos/core/mariadb/util/JdbcUrlBuilder.java
+++ b/src/main/java/io/mifos/core/mariadb/util/JdbcUrlBuilder.java
@@ -52,7 +52,8 @@ public final class JdbcUrlBuilder {
         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() +
"'");
     }

-- 
To stop receiving notification emails like this one, please contact
myrle@apache.org.

Mime
View raw message