From c887d71e761bb2cd7c1ed7c12977938c4cc6cd09 Mon Sep 17 00:00:00 2001 From: Ian Kelly Date: Mon, 1 Sep 2008 19:37:48 +0000 Subject: [PATCH] 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 --- django/db/backends/oracle/base.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/django/db/backends/oracle/base.py b/django/db/backends/oracle/base.py index ab86076214..f9ad148b7e 100644 --- a/django/db/backends/oracle/base.py +++ b/django/db/backends/oracle/base.py @@ -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)