GUACAMOLE-2088: Add missing "AND" for MySQL/MariaDB "DELETE" query.
This commit is contained in:
1 parent
0537c89cd7
commit
81a38a577b
1 file changed
+1
-1
+1
-1
@@ -291,7 +291,6 @@
|
||||
<delete id="delete">
|
||||
DELETE FROM guacamole_entity
|
||||
WHERE
|
||||
type = 'USER_GROUP'
|
||||
<choose>
|
||||
<when test="caseSensitivity.caseSensitiveGroupNames()">
|
||||
name = #{identifier,jdbcType=VARCHAR}
|
||||
@@ -300,6 +299,7 @@
|
||||
LOWER(name) = LOWER(#{identifier,jdbcType=VARCHAR})
|
||||
</otherwise>
|
||||
</choose>
|
||||
AND type = 'USER_GROUP'
|
||||
</delete>
|
||||
|
||||
<!-- Insert single group -->
|
||||
|
||||
Reference in new issue
Block a user