Hi Daniel,
since its now clear that something wrong in the python interface, I have an
other question about sdb.dbapi regarding BLOBs:
If I run the attached testlong.py the result output won't be 40000 'x' instead:
datzert1:/opt/sdb/interfaces/python # python testlong.py
<cStringIO.StringI object at 0x4033e590>
long content: (40)
If I change line 23 to
longval = dbapi.Binary('x' * 40000).read
the output will be 40000 'x'
Is this the correct behavior for the python dbapi of Binary ? I would expect
that dbapi.Binary() can be passed as a parameter to a sql-statement and that
the dbapi will use the read()-function as input for the sql-statement passed to
maxdb.
Regards,
Dirk
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]