Changeset 196:93d80d790e48 in livinglogic.python.orasql

Show
Ignore:
Timestamp:
03/08/07 11:25:30 (13 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Tags:
rel-1-17-3
Message:

Always pass BLOBs as variables.

Files:
3 modified

Legend:

Unmodified
Added
Removed
  • NEWS.xml

    r194 r196  
     1<section><title>Changes in 1.17.3 (released 03/08/2007)</title> 
     2<ulist> 
     3<item><lit>BLOB</lit> arguments for procedures and functions are always 
     4passed as variables now.</item> 
     5</ulist> 
     6</section> 
     7 
     8 
    19<section><title>Changes in 1.17.2 (released 03/07/2007)</title> 
    210<ulist> 
  • setup.py

    r193 r196  
    4747args=dict( 
    4848    name="ll-orasql", 
    49     version="1.17.2", 
     49    version="1.17.3", 
    5050    description="Utilities for working with cx_Oracle", 
    5151    long_description=DESCRIPTION, 
  • src/ll/orasql/__init__.py

    r193 r196  
    17951795                realarg = None 
    17961796                realargs[arginfo.position] = realarg 
    1797             if arginfo.isout or (isinstance(realarg, basestring) and len(realarg) >= 32000): 
     1797            if arginfo.isout or arginfo.datatype == "blob" or (isinstance(realarg, basestring) and len(realarg) >= 32000): 
    17981798                try: 
    17991799                    type = self._ora2cx[arginfo.datatype]