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

This commit is contained in:
Michael Jumper authored and adam committed 2026-04-20 14:19:19 +01:00
1 parent 0537c89cd7
commit 7534ddfef9
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 -->