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
This commit is contained in:
Ian Kelly 2008-09-01 19:37:48 +00:00
parent 7ecdf47bd0
commit c887d71e76
1 changed files with 3 additions and 0 deletions

View File

@ -106,6 +106,9 @@ class DatabaseOperations(BaseDatabaseOperations):
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)