Andre Reitz wrote:
> rset.getDescription()
> returns a python-sequence of the following tuples:
> 
>   [ (name,tname,type,size,prec,null,inout), .... ]
> 
> So my question: 
> 
> The "type" variable becomes -1 when 
>  - selecting a "LONG" field
>  - selecting a "LONG VARCHAR" field
> 
> Is this a bug? 
> or is the -1 in both cases correct?

The integer code should match the codes given by XOPEN and I've copied 
it from java.sql.types:
public final static int LONGVARCHAR     =  -1;

I should probably test that the codes match those given by mxODBC on the 
same tables.

> Are the LongField-Bugs and the Py_None Incref bugs 
> fixed in the newest Version of the sources and binaries:
> 
>  - sapdb-source-7.3.00.25.tgz
>  - sapdb-python-linux-i386-7.3.00.25.tgz

Yes

Daniel Dittmar

-- 
Daniel Dittmar
SAP DB, SAP Labs Berlin
[EMAIL PROTECTED]
http://www.sapdb.org



_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to