[Twisted-Python] patch implementing 'fetchmany' from enterprise.adbapi

andrewextra at puzzling.org andrewextra at puzzling.org
Tue Mar 4 02:55:16 EST 2003


>
> The patch also tests for "threadsaftey", for some reason
> mxODBC has an apilevel of "2.0" yet they are missing this
> attribute (they call it threadlevel).   I'm not fond of
> this part of the patch, but it is included since this
> is what I tested with (I don't have permissions to change
> mxODBC).

Of course you have permissions to change mxODBC:
    import mxODBC
    mxODBC.threadsafety = mxODBC.threadlevel

:)

-Andrew.





More information about the Twisted-Python mailing list