Ticket #7087: orcl_revert_resolve_columns.diff

File orcl_revert_resolve_columns.diff, 878 bytes (added by jbronn, 17 years ago)
  • django/db/backends/oracle/query.py

     
    2828        def resolve_columns(self, row, fields=()):
    2929            from django.db.models.fields import DateField, DateTimeField, \
    3030                 TimeField, BooleanField, NullBooleanField, DecimalField, Field
    31             index_start = len(self.extra_select.keys())
    32             values = list(row[:index_start])
    33             for value, field in map(None, row[index_start:], fields):
     31            values = []
     32            for value, field in map(None, row, fields):
    3433                if isinstance(value, Database.LOB):
    3534                    value = value.read()
    3635                # Oracle stores empty strings as null. We need to undo this in
Back to Top