You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by jm...@apache.org on 2016/08/20 21:52:10 UTC
[2/4] incubator-guacamole-client git commit: GUACAMOLE-76: Set
"allowMultiQueries" for MySQL.
GUACAMOLE-76: Set "allowMultiQueries" for MySQL.
Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/commit/2e3d3c4f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/tree/2e3d3c4f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/diff/2e3d3c4f
Branch: refs/heads/master
Commit: 2e3d3c4f5fba477ede71ea8a831a2c66dd0b4f37
Parents: a83b5c5
Author: Michael Jumper <mj...@apache.org>
Authored: Sat Aug 20 12:41:16 2016 -0700
Committer: Michael Jumper <mj...@apache.org>
Committed: Sat Aug 20 12:41:16 2016 -0700
----------------------------------------------------------------------
.../guacamole/auth/mysql/MySQLAuthenticationProviderModule.java | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/blob/2e3d3c4f/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/src/main/java/org/apache/guacamole/auth/mysql/MySQLAuthenticationProviderModule.java
----------------------------------------------------------------------
diff --git a/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/src/main/java/org/apache/guacamole/auth/mysql/MySQLAuthenticationProviderModule.java b/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/src/main/java/org/apache/guacamole/auth/mysql/MySQLAuthenticationProviderModule.java
index 5687e04..16cdd05 100644
--- a/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/src/main/java/org/apache/guacamole/auth/mysql/MySQLAuthenticationProviderModule.java
+++ b/extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-mysql/src/main/java/org/apache/guacamole/auth/mysql/MySQLAuthenticationProviderModule.java
@@ -72,6 +72,8 @@ public class MySQLAuthenticationProviderModule implements Module {
// Use UTF-8 in database
driverProperties.setProperty("characterEncoding","UTF-8");
+ // Allow use of multiple statements within a single query
+ driverProperties.setProperty("allowMultiQueries", "true");
}