summaryrefslogtreecommitdiffstats
path: root/lib/repair
diff options
context:
space:
mode:
authorOlivier Paroz <github@oparoz.com>2015-03-17 11:05:51 +0100
committerOlivier Paroz <github@oparoz.com>2015-03-17 13:18:14 +0100
commit42560780177e74347c9e00200b64dd15f4f72449 (patch)
tree1b237a99efe63dd36d2093272812784b5aeea20b /lib/repair
parentf6363e67c302a473dcb8c7e63ec7b40e8981e44a (diff)
downloadnextcloud-server-42560780177e74347c9e00200b64dd15f4f72449.tar.gz
nextcloud-server-42560780177e74347c9e00200b64dd15f4f72449.zip
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.
Diffstat (limited to 'lib/repair')
-rw-r--r--lib/repair/repairmimetypes.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/repair/repairmimetypes.php b/lib/repair/repairmimetypes.php
index ad55c63c21a..721464f923d 100644
--- a/lib/repair/repairmimetypes.php
+++ b/lib/repair/repairmimetypes.php
@@ -66,7 +66,7 @@ class RepairMimeTypes extends BasicEmitter implements \OC\RepairStep {
SELECT `id`
FROM `*PREFIX*mimetypes`
WHERE `mimetype` = ?
- ) WHERE `name` LIKE ?
+ ) WHERE `name` ILIKE ?
');
}