On Sat, 21 Sep 2002 22:01:39 +0200
Daniel Dittmar <[EMAIL PROTECTED]> wrote:

> 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.
> 
Shouldnt there be a difference between 
LONG and LONGVARCHAR (e.g. -1 and -2 ???)

Greetings, Andre'

> > 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


-- 
_____________________________________________
inworks GmbH            Andre Reitz             
Magirusstrasse 44       Tel. 0731/93 80 7-21
89077 Ulm               http://www.inworks.de

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

Reply via email to