summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-03-19 17:22:25 +0100
committerMorris Jobke <hey@morrisjobke.de>2015-03-19 17:22:25 +0100
commit2a8c3798a8e43e1215c476815c3f7fa79d5ba91f (patch)
treed865295178e95c9879a5d38b751ec5d79d371c5f /lib
parentc57fb6202970a21e6003b9ac1122562c97adc94f (diff)
parentbd91546db8b0f9e4a31dc983a4e18988353dc13a (diff)
downloadnextcloud-server-2a8c3798a8e43e1215c476815c3f7fa79d5ba91f.tar.gz
nextcloud-server-2a8c3798a8e43e1215c476815c3f7fa79d5ba91f.zip
Merge pull request #14947 from oparoz/repairmimetypes-sql
Make repairmimetypes compatible with case sensitive SQL backends
Diffstat (limited to 'lib')
-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 ?
');
}