[IronPython] adodbapi 2.2.1 (bugfix) release.

Vernon Cole vernondcole at gmail.com
Fri Sep 5 12:54:09 PDT 2008


I found a bug in adodbapi v2.2 already. When putting data into a numeric
database column, if the input was in a string (as for example the value of a
wxPython grid cell), then the data would be truncated to the binary length
of the field. So if I tried tried putting "12345" into an integer column,
the value 1234 would be stored, because integers are 4 bytes long. This took
me a while to find, since I kept looking at my wxwidgets code before finally
uncovering adodbapi as the culpret.

  The fixed version is in the pywin32 CVS and in
http://sourceforge.net/projects/adodbapi .

For some good news,  Mike Driscoll reports:

I used your adodbapi module in my wxPython / SqlAlchemy program today and it
> seemed to be returning the same data as the default module (which I think is
> pyobdc). I don't know if my application truly stresses adodbapi , but it
> does make lots of calls and accesses multiple tables in multiple databases.
>
>
If anyone can test SqlAlchemy -> adodbapi -> IronPython please let us know
if it works.
--
Vernon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ironpython.com/pipermail/users-ironpython.com/attachments/20080905/b1a995c3/attachment.htm>


More information about the Users mailing list