mirror of https://github.com/django/django.git
Fixed #11051 -- Oracle passes null_fk unit tests in trunk again. Thanks, JirkaV.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10742 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
14a6f6cf9a
commit
369568b8c7
|
@ -51,7 +51,7 @@ def query_class(QueryClass, Database):
|
|||
for v in row[rn_offset:index_start]]
|
||||
for value, field in map(None, row[index_start:], fields):
|
||||
values.append(self.convert_values(value, field))
|
||||
return values
|
||||
return tuple(values)
|
||||
|
||||
def convert_values(self, value, field):
|
||||
if isinstance(value, Database.LOB):
|
||||
|
@ -148,4 +148,3 @@ def unpickle_query_class(QueryClass):
|
|||
klass = query_class(QueryClass, cx_Oracle)
|
||||
return klass.__new__(klass)
|
||||
unpickle_query_class.__safe_for_unpickling__ = True
|
||||
|
||||
|
|
Loading…
Reference in New Issue