Browse files

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
  • Loading branch information...
1 parent 5797066 commit 3e09a1fc1c7cd44a3c7b74ef0573018d01c484d2 @adrianholovaty adrianholovaty committed Jul 19, 2005
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/core/db/backends/mysql.py
View
4 django/core/db/backends/mysql.py
@@ -100,8 +100,8 @@ def get_date_trunc_sql(lookup_type, field_name):
'lte': '<=',
'startswith': 'LIKE',
'endswith': 'LIKE',
- 'istartswith': 'ILIKE',
- 'iendswith': 'ILIKE',
+ 'istartswith': 'LIKE',
+ 'iendswith': 'LIKE',
}
# This dictionary maps Field objects to their associated MySQL column

0 comments on commit 3e09a1f

Please sign in to comment.