Ticket #11487: long_string.diff

File long_string.diff, 527 bytes (added by Goldan, 14 years ago)

A string that is being patched (variants: LONG_STRING and NCLOB)

  • django/db/backends/oracle/base.py.

    old new  
    538538            self.input_size = param.input_size
    539539        elif isinstance(param, basestring) and len(param) > 4000:
    540540            # Mark any string param greater than 4000 characters as a CLOB.
    541             self.input_size = Database.CLOB
     541            self.input_size = Database.LONG_STRING
    542542        else:
    543543            self.input_size = None
    544544
Back to Top