Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 3e09a1fc1c7cd44a3c7b74ef0573018d01c484d2 1 parent 5797066
Adrian Holovaty adrianholovaty authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/core/db/backends/mysql.py
4 django/core/db/backends/mysql.py
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.