Ticket #7087: qsrf_dates_oracle.diff
File qsrf_dates_oracle.diff, 735 bytes (added by , 17 years ago) |
---|
-
django/db/models/sql/subqueries.py
330 330 from django.db.backends.util import typecast_timestamp 331 331 needs_string_cast = self.connection.features.needs_datetime_string_cast 332 332 333 index_start = len(self.extra_select) 333 334 for rows in self.execute_sql(MULTI): 334 335 for row in rows: 335 date = row[ 0]336 date = row[index_start] 336 337 if resolve_columns: 337 338 date = self.resolve_columns([date], fields)[0] 338 339 elif needs_string_cast: