Changes between Initial Version and Version 7 of Ticket #20226


Ignore:
Timestamp:
Aug 4, 2015, 6:34:04 PM (9 years ago)
Author:
Tim Graham
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20226

    • Property Triage Stage UnreviewedAccepted
    • Property Cc shai@… added
    • Property Easy pickings unset
  • Ticket #20226 – Description

    initial v7  
    44
    55When running a query against any table with such non-uppercase only columnnames, I get an error like
    6 
     6{{{
    77django.db.utils.DatabaseError: ORA-00904: "SOMETABLENAME"."CALLTYPE": invalid identifier.
    88
     
    2121                  aliases.add(c_alias)
    2222              else:
    23 +                 m = map(str.isupper, field.column)
     23+                 m = map(str.isupper, str(field.column))
    2424                  r = '%s.%s' % (qn(alias), qn2(field.column))
    2525+                 if True in m:  # if there is an uppercase, leave it.
     
    2828                  aliases.add(r)
    2929                  if with_aliases:
    30 
    31 
     30}}}
    3231
    3332ie. I check if there is an uppercase in the column name, and if so,
Back to Top