[Zope-DB] An error occurs by ZODBCDA.
   
    Okuno Shingo
     
    oku@be.to
       
    Fri, 07 Jun 2002 22:10:33 +0900
    
    
  
Hi,
Z ODBC DA is very cool!
but, I discovered the error.
[Enviroment]
- Windows 2000 Pro
- Sybase ASE 11.9.2
- Zope 2.5.1
- Z ODBC DA 3.0.3
1. create table.
  create table TESTODBC (
    id numeric(32),
    value varchar(255)
  )
2. execute query by Z ODBC DA
  query : select id from TESTODBC
  and, 
  ValueError: int() literal too large: 4294967296
Cause,
db.py (line 226)
  if tp=='N' and scale==0: tp='i'
Regards.
oku@be.to
# I am a Japanese.I cannot speak English, sorry... :-)