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:
parent
f6363e67c3
commit
4256078017
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ class RepairMimeTypes extends BasicEmitter implements \OC\RepairStep {
|
|||
SELECT `id`
|
||||
FROM `*PREFIX*mimetypes`
|
||||
WHERE `mimetype` = ?
|
||||
) WHERE `name` LIKE ?
|
||||
) WHERE `name` ILIKE ?
|
||||
');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue