Code

Ticket #11487: base.2.diff

File base.2.diff, 647 bytes (added by mdpetry, 5 years ago)

Change variable type to Database.CLOB

Line 
1Index: base.py
2===================================================================
3--- base.py     (revisão 11247)
4+++ base.py     (cópia de trabalho)
5@@ -360,8 +360,8 @@
6             # If parameter has `input_size` attribute, use that.
7             self.input_size = param.input_size
8         elif isinstance(param, basestring) and len(param) > 4000:
9-            # Mark any string param greater than 4000 characters as an NCLOB.
10-            self.input_size = Database.NCLOB
11+            # Mark any string param greater than 4000 characters as an CLOB.
12+            self.input_size = Database.CLOB
13         else:
14             self.input_size = None
15