Browse files

Fixed escaping of wildcard characters in iexact lookups in Oracle.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8808 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 7ecdf47 commit c887d71e761bb2cd7c1ed7c12977938c4cc6cd09 @ikelly ikelly committed Sep 1, 2008
Showing with 3 additions and 0 deletions.
  1. +3 −0 django/db/backends/oracle/base.py
View
3 django/db/backends/oracle/base.py
@@ -106,6 +106,9 @@ def lookup_cast(self, lookup_type):
def max_name_length(self):
return 30
+ def prep_for_iexact_query(self, x):
+ return x
+
def query_class(self, DefaultQueryClass):
return query.query_class(DefaultQueryClass, Database)

0 comments on commit c887d71

Please sign in to comment.