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:
Matt Boersma 2008-08-15 01:33:18 +00:00
parent 2102967807
commit fcc42c1bf7
1 changed files with 1 additions and 1 deletions

View File

@ -689,7 +689,7 @@ class ValuesListQuerySet(ValuesQuerySet):
yield row[0] yield row[0]
elif not self.query.extra_select: elif not self.query.extra_select:
for row in self.query.results_iter(): for row in self.query.results_iter():
yield row yield tuple(row)
else: else:
# When extra(select=...) is involved, the extra cols come are # When extra(select=...) is involved, the extra cols come are
# always at the start of the row, so we need to reorder the fields # always at the start of the row, so we need to reorder the fields