Hello Folks,

I have converted DBI ( the latest svn trunk - #93 )
to use PERL_NO_GET_CONTEXT ( with pTHX_/aTHX_ added
where necessary ). The DBI test suite works fine,
an I have been using it w/o problems on my production
Apache 2.0.48/mod_perl 1.9913(cvs)/perl 5.8.3 on a Linux box
( kernel 2.4.25, current GNU via Sorcerer ).

I didn't realize it when I began, but this change
has a great impact on all DBDs: the DBIXS.h and
dbd_xsh.h headers change, as well as the exposed DBI/
DBD interface, so EVERY dbd using XS would have to change
as well.

As a learning experience, I converted DBD-mysql-2.9003
and am almost done with DBD-Pg-1.32_2. The mysql conversion
effort took about two hours.

NOTE: there are problems implementing this scheme in
perl 5.8.2 - prob. the perl ithreads bug.

So, it was very instructive, and I have patches for what
I did.

Tim: would you like me to submit the DBI patch? Via svn?

Aloha => Beau;

Reply via email to