mirror of
https://github.com/django/django.git
synced 2024-11-30 15:10:46 +01:00
Fixed Oracle backend test case failure in modeltests\lookup.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8355 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
2102967807
commit
fcc42c1bf7
@ -689,7 +689,7 @@ class ValuesListQuerySet(ValuesQuerySet):
|
||||
yield row[0]
|
||||
elif not self.query.extra_select:
|
||||
for row in self.query.results_iter():
|
||||
yield row
|
||||
yield tuple(row)
|
||||
else:
|
||||
# When extra(select=...) is involved, the extra cols come are
|
||||
# always at the start of the row, so we need to reorder the fields
|
||||
|
Loading…
Reference in New Issue
Block a user