DBI-1.33, BC5.5 and ftime

2003-02-28 Thread Steffen Goeldner
Attached is a small patch for 'non underscore systems'. Steffen*** DBI-1.33-orig/DBI.xsThu Feb 27 01:22:44 2003 --- DBI-1.33/DBI.xs Thu Feb 27 21:36:47 2003 *** *** 1818,1823 --- 1818,1827 return when.tv_sec + (when.tv_usec / 100.0); # else/*

Re: rfc: DBI::Pool prototype (i.e. hack)

2003-02-28 Thread Tim Bunce
On Fri, Feb 28, 2003 at 10:03:07AM +1100, Stas Bekman wrote: But only the driver knows what's in that data and thus what needs to be re-initialised for use in a different thread - like SVs. Cool, so you suggest that we don't bother to save only the really private data, but copy the whole

Re: DBI-1.33, BC5.5 and ftime

2003-02-28 Thread Tim Bunce
Applied. Thanks! Are there likely to be other variations on this theme for other compilers? Tim. On Fri, Feb 28, 2003 at 09:53:13AM +0100, Steffen Goeldner wrote: Attached is a small patch for 'non underscore systems'. Steffen *** DBI-1.33-orig/DBI.xs Thu Feb 27 01:22:44 2003 ---

Re: rfc: DBI::Pool prototype (i.e. hack)

2003-02-28 Thread Stas Bekman
Tim Bunce wrote: Internally the connect should remove the item from the pool and pass it to the driver. If the item is not passed the driver does the real connect(). During $dbh-destroy, the item is deposited to the pool. Could be done the same was as Apache::DBI. Rebless the handle and have a