From 3e09a1fc1c7cd44a3c7b74ef0573018d01c484d2 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Tue, 19 Jul 2005 15:24:27 +0000 Subject: [PATCH] Quick bugfix to [207] -- MySQL doesn't have ILIKE git-svn-id: http://code.djangoproject.com/svn/django/trunk@208 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/core/db/backends/mysql.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django/core/db/backends/mysql.py b/django/core/db/backends/mysql.py index 9e96ed692e..307a3e2713 100644 --- a/django/core/db/backends/mysql.py +++ b/django/core/db/backends/mysql.py @@ -100,8 +100,8 @@ OPERATOR_MAPPING = { 'lte': '<=', 'startswith': 'LIKE', 'endswith': 'LIKE', - 'istartswith': 'ILIKE', - 'iendswith': 'ILIKE', + 'istartswith': 'LIKE', + 'iendswith': 'LIKE', } # This dictionary maps Field objects to their associated MySQL column