Ticket #11487: base.2.diff

File base.2.diff, 647 bytes (added by Marcos Daniel Petry, 15 years ago)

Change variable type to Database.CLOB

  • base.py

     
    360360            # If parameter has `input_size` attribute, use that.
    361361            self.input_size = param.input_size
    362362        elif isinstance(param, basestring) and len(param) > 4000:
    363             # Mark any string param greater than 4000 characters as an NCLOB.
    364             self.input_size = Database.NCLOB
     363            # Mark any string param greater than 4000 characters as an CLOB.
     364            self.input_size = Database.CLOB
    365365        else:
    366366            self.input_size = None
    367367
Back to Top