escape % in query (#20954)

for https://github.com/fleetdm/fleet/issues/20940. Ran `make
generate-doc` as well but docs don't change with this.
This commit is contained in:
Roberto Dip 2024-08-01 13:56:09 -03:00 committed by GitHub
parent 81af71b80a
commit 7a4773cd0a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -944,7 +944,7 @@ SELECT
'' AS arch,
'' AS installed_path
FROM deb_packages
WHERE status LIKE '% ok installed'
WHERE status LIKE '%% ok installed'
UNION
SELECT
package AS name,