diff options
author | Olivier Paroz <github@oparoz.com> | 2015-03-17 11:05:51 +0100 |
---|---|---|
committer | Olivier Paroz <github@oparoz.com> | 2015-03-17 13:18:14 +0100 |
commit | 42560780177e74347c9e00200b64dd15f4f72449 (patch) | |
tree | 1b237a99efe63dd36d2093272812784b5aeea20b /lib/repair | |
parent | f6363e67c302a473dcb8c7e63ec7b40e8981e44a (diff) | |
download | nextcloud-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.php | 2 |
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 ? '); } |