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:
parent
cf7a078774
commit
5f31e9bd33
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue