From 42560780177e74347c9e00200b64dd15f4f72449 Mon Sep 17 00:00:00 2001 From: Olivier Paroz Date: Tue, 17 Mar 2015 11:05:51 +0100 Subject: 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. --- lib/repair/repairmimetypes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 ? '); } -- cgit v1.2.3