Fixed extra_select with DateQuery in Oracle

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8804 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Ian Kelly 2008-09-01 18:45:49 +00:00
parent cf7a078774
commit 5f31e9bd33
1 changed files with 1 additions and 1 deletions

View File

@ -377,7 +377,7 @@ class DateQuery(Query):
for row in rows:
date = row[offset]
if resolve_columns:
date = self.resolve_columns([date], fields)[0]
date = self.resolve_columns(row, fields)[offset]
elif needs_string_cast:
date = typecast_timestamp(str(date))
yield date