Make repairmimetypes compatible with case sensitive SQL backends

Change for #14132
Just a word of warning, ILIKE seems to be a Doctrine only clause. The statements are thus not portable.
This commit is contained in:
Olivier Paroz 2015-03-17 11:05:51 +01:00
parent f6363e67c3
commit 4256078017

View file

@ -66,7 +66,7 @@ class RepairMimeTypes extends BasicEmitter implements \OC\RepairStep {
SELECT `id`
FROM `*PREFIX*mimetypes`
WHERE `mimetype` = ?
) WHERE `name` LIKE ?
) WHERE `name` ILIKE ?
');
}