perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clinton Gormley <cl...@traveljury.com>
Subject Re: Patch for Apache::DBI v 0.9901 under MP2 using prefork
Date Sun, 29 Jan 2006 10:02:41 GMT
On Sat, 2006-01-28 at 21:24 -0500, Michael Peters wrote:
> 
> Jonathan wrote:
> > 
> ]> no matter what i do though, i can't seem to kill the config 
> > connection.  it just kinda sits there and apache::dbi won't clear  it. 
> > annoying.
> 
> It's because Apache::DBI overrides disconnect() to make it a no-op. If you are
> connecting during your apache startup phase then you shouldn't use Apache::DBI.
> You can turn it off, connect to the database and then turn it back on with
> something like:

This patch (see other post) fixes it by removing the cached handles and
letting them go out of scope.

clint


Mime
View raw message