On Thu, Aug 23, 2001 at 11:19:22AM -0700, Kyle Oppenheim wrote:

> 3. Apache::DBI intercepts the connect(), looks in it's hash and sees that it
> already has a connection.  It pings the handle, fails, and deletes the entry
> from the hash.  That's the last refcount on the dbh, so DESTROY gets called.

> 4. The DESTROY method yields a "DBI handle cleared whilst still active" warning..

Apache::DBI should probably do an explicit eval { $dbh->disconnect } if the ping fails.

Tim.

Reply via email to