summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-07-19 15:24:27 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-07-19 15:24:27 +0000
commit3e09a1fc1c7cd44a3c7b74ef0573018d01c484d2 (patch)
tree4b95e56a52ab28d6baaccfa715816e51326f164b
parent57970663831908e8f1e8bb787b04ac923d123e41 (diff)
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
-rw-r--r--django/core/db/backends/mysql.py4
1 files 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