Changes between Initial Version and Version 7 of Ticket #20226
- Timestamp:
- Aug 4, 2015, 6:34:04 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #20226
- Property Triage Stage Unreviewed → Accepted
- Property Cc added
- Property Easy pickings unset
-
Ticket #20226 – Description
initial v7 4 4 5 5 When running a query against any table with such non-uppercase only columnnames, I get an error like 6 6 {{{ 7 7 django.db.utils.DatabaseError: ORA-00904: "SOMETABLENAME"."CALLTYPE": invalid identifier. 8 8 … … 21 21 aliases.add(c_alias) 22 22 else: 23 + m = map(str.isupper, field.column)23 + m = map(str.isupper, str(field.column)) 24 24 r = '%s.%s' % (qn(alias), qn2(field.column)) 25 25 + if True in m: # if there is an uppercase, leave it. … … 28 28 aliases.add(r) 29 29 if with_aliases: 30 31 30 }}} 32 31 33 32 ie. I check if there is an uppercase in the column name, and if so,