GUACAMOLE-2088: Add missing "AND" for MySQL/MariaDB "DELETE" query.

This commit is contained in:
Michael Jumper committed 2025-07-17 22:37:58 -07:00
1 parent 2aa6afd204
commit a24cf30f56
1 file changed
+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 -->