GUACAMOLE-2099: Merge updates to JDBC drivers and additional corrections to SQL syntax.
This commit is contained in:
5 files changed
+7
-7
No files matched your search
+2
-2
@@ -52,8 +52,8 @@ ARG MAVEN_ARGUMENTS="-DskipTests=false"
|
|||||||
|
|
||||||
# Versions of JDBC drivers to bundle within image
|
# Versions of JDBC drivers to bundle within image
|
||||||
ARG MSSQL_JDBC_VERSION=9.4.1
|
ARG MSSQL_JDBC_VERSION=9.4.1
|
||||||
ARG MYSQL_JDBC_VERSION=8.3.0
|
ARG MYSQL_JDBC_VERSION=9.3.0
|
||||||
ARG PGSQL_JDBC_VERSION=42.7.2
|
ARG PGSQL_JDBC_VERSION=42.7.7
|
||||||
|
|
||||||
# Build environment variables
|
# Build environment variables
|
||||||
ENV \
|
ENV \
|
||||||
|
|||||||
+1
-1
@@ -214,7 +214,7 @@
|
|||||||
JOIN [guacamole_entity] ON [guacamole_user].entity_id = [guacamole_entity].entity_id
|
JOIN [guacamole_entity] ON [guacamole_user].entity_id = [guacamole_entity].entity_id
|
||||||
WHERE
|
WHERE
|
||||||
<choose>
|
<choose>
|
||||||
<hen test="caseSensitivity.caseSensitiveUsernames()">
|
<when test="caseSensitivity.caseSensitiveUsernames()">
|
||||||
CHARINDEX(#{term.term,jdbcType=VARCHAR} IN [guacamole_entity].name) > 0
|
CHARINDEX(#{term.term,jdbcType=VARCHAR} IN [guacamole_entity].name) > 0
|
||||||
</when>
|
</when>
|
||||||
<otherwise>
|
<otherwise>
|
||||||
|
|||||||
+2
-2
@@ -176,9 +176,9 @@
|
|||||||
<when test="caseSensitivity.caseSensitiveGroupNames()">
|
<when test="caseSensitivity.caseSensitiveGroupNames()">
|
||||||
affected_entity.name = permissions.affected_name
|
affected_entity.name = permissions.affected_name
|
||||||
</when>
|
</when>
|
||||||
<test>
|
<otherwise>
|
||||||
LOWER(affected_entity.name) = LOWER(permissions.affected_name)
|
LOWER(affected_entity.name) = LOWER(permissions.affected_name)
|
||||||
</test>
|
</otherwise>
|
||||||
</choose>
|
</choose>
|
||||||
JOIN [guacamole_user_group] affected_group ON affected_group.entity_id = affected_entity.entity_id
|
JOIN [guacamole_user_group] affected_group ON affected_group.entity_id = affected_entity.entity_id
|
||||||
WHERE NOT EXISTS (SELECT 1 FROM [guacamole_user_group_permission]
|
WHERE NOT EXISTS (SELECT 1 FROM [guacamole_user_group_permission]
|
||||||
|
|||||||
+1
-1
@@ -141,7 +141,7 @@
|
|||||||
affected_entity.name = #{permission.objectIdentifier,jdbcType=VARCHAR}
|
affected_entity.name = #{permission.objectIdentifier,jdbcType=VARCHAR}
|
||||||
</when>
|
</when>
|
||||||
<otherwise>
|
<otherwise>
|
||||||
LOWER(affected_entity.name = LOWER(#{permission.objectIdentifier,jdbcType=VARCHAR})
|
LOWER(affected_entity.name) = LOWER(#{permission.objectIdentifier,jdbcType=VARCHAR})
|
||||||
</otherwise>
|
</otherwise>
|
||||||
</choose>
|
</choose>
|
||||||
AND
|
AND
|
||||||
|
|||||||
+1
-1
@@ -179,7 +179,7 @@
|
|||||||
LOWER([guacamole_entity].name) IN
|
LOWER([guacamole_entity].name) IN
|
||||||
<foreach collection="identifiers" item="identifier"
|
<foreach collection="identifiers" item="identifier"
|
||||||
open="(" separator="," close=")">
|
open="(" separator="," close=")">
|
||||||
LOOWER(#{identifier,jdbcType=VARCHAR})
|
LOWER(#{identifier,jdbcType=VARCHAR})
|
||||||
</foreach>
|
</foreach>
|
||||||
</otherwise>
|
</otherwise>
|
||||||
</choose>
|
</choose>
|
||||||
|
|||||||
Reference in new issue
Block a user