Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #11051 -- Oracle passes null_fk unit tests in trunk again. Than…

…ks, JirkaV.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10742 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 369568b8c76dc463ed6f392e2efe874cbab04690 1 parent 14a6f6c
Matt Boersma authored May 11, 2009

Showing 1 changed file with 2 additions and 3 deletions. Show diff stats Hide diff stats

  1. 5  django/db/backends/oracle/query.py
5  django/db/backends/oracle/query.py
@@ -51,14 +51,14 @@ def resolve_columns(self, row, fields=()):
51 51
                       for v in row[rn_offset:index_start]]
52 52
             for value, field in map(None, row[index_start:], fields):
53 53
                 values.append(self.convert_values(value, field))
54  
-            return values
  54
+            return tuple(values)
55 55
 
56 56
         def convert_values(self, value, field):
57 57
             if isinstance(value, Database.LOB):
58 58
                 value = value.read()
59 59
                 if field and field.get_internal_type() == 'TextField':
60 60
                     value = force_unicode(value)
61  
-                    
  61
+
62 62
             # Oracle stores empty strings as null. We need to undo this in
63 63
             # order to adhere to the Django convention of using the empty
64 64
             # string instead of null, but only if the field accepts the
@@ -148,4 +148,3 @@ def unpickle_query_class(QueryClass):
148 148
     klass = query_class(QueryClass, cx_Oracle)
149 149
     return klass.__new__(klass)
150 150
 unpickle_query_class.__safe_for_unpickling__ = True
151  
-

0 notes on commit 369568b

Please sign in to comment.
Something went wrong with that request. Please try again.