Re: DBI::DBD: err/errstr/state - and how it has helped DBD::Informix

2004-12-15 Thread Tim Bunce
On Tue, Dec 14, 2004 at 06:24:40PM -0800, Jonathan Leffler wrote: On Tue, 14 Dec 2004 16:47:39 +, Tim Bunce [EMAIL PROTECTED] wrote: On Tue, Dec 14, 2004 at 07:08:08AM -0800, Jonathan Leffler wrote: I had certainly managed to miss this change - which could easily account for some of

Re: DBI::DBD: err/errstr/state - and how it has helped DBD::Informix

2004-12-15 Thread Jonathan Leffler
Sorry for this flurry of half-researched questions... :-( I'll probably be able to submit another patch to DBI::DBD.pm out of this. On Wed, 15 Dec 2004 10:11:57 +, Tim Bunce [EMAIL PROTECTED] wrote: On Tue, Dec 14, 2004 at 06:24:40PM -0800, Jonathan Leffler wrote: On Tue, 14 Dec 2004

Re: DBI::DBD: err/errstr/state - and how it has helped DBD::Informix

2004-12-15 Thread Tim Bunce
On Wed, Dec 15, 2004 at 07:27:59AM -0800, Jonathan Leffler wrote: Sorry for this flurry of half-researched questions... :-( I'll probably be able to submit another patch to DBI::DBD.pm out of this. Great! Thanks. Tim. p.s. Patch against subversion if possible. If not grab the latest from

Re: DBI::DBD: err/errstr/state

2004-12-14 Thread Tim Bunce
On Tue, Dec 14, 2004 at 07:08:08AM -0800, Jonathan Leffler wrote: I had certainly managed to miss this change - which could easily account for some of the weirdnesses I'd been seeing in DBD::Informix. (I haven't had a chance to do a thing for a week and more.) This sort of backwards

Re: DBI::DBD: err/errstr/state - and how it has helped DBD::Informix

2004-12-14 Thread Jonathan Leffler
On Tue, 14 Dec 2004 16:47:39 +, Tim Bunce [EMAIL PROTECTED] wrote: On Tue, Dec 14, 2004 at 07:08:08AM -0800, Jonathan Leffler wrote: I had certainly managed to miss this change - which could easily account for some of the weirdnesses I'd been seeing in DBD::Informix. (I haven't had a

DBI::DBD: err/errstr/state

2004-12-13 Thread Steffen Goeldner
DBI 1.31 suggests that lexically scoped variables should be passed to _new_dbh(): http://search.cpan.org/~timb/DBI/Changes#Changes_in_DBI_1.31,_29th_November_2002 DBI 1.33 suggests that drivers should no longer pass these variables to _new_drh() or _new_dbh():

Re: DBI::DBD: err/errstr/state

2004-12-13 Thread Tim Bunce
Thanks, applied. Tim. On Tue, Dec 14, 2004 at 10:12:54AM +0100, Steffen Goeldner wrote: DBI 1.31 suggests that lexically scoped variables should be passed to _new_dbh(): http://search.cpan.org/~timb/DBI/Changes#Changes_in_DBI_1.31,_29th_November_2002 DBI 1.33 suggests that drivers

Re: DBI::DBD: err/errstr/state

2004-12-13 Thread Jonathan Leffler
I had certainly managed to miss this change - which could easily account for some of the weirdnesses I'd been seeing in DBD::Informix. (I haven't had a chance to do a thing for a week and more.) This sort of backwards incompatible change (in the use of set_err()) stuff needs to be firmly