Re: [PATCH] cvsserver: suppress warnings
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 25, 2006, 11:11 UTC
- Message-ID
- <Pine.LNX.4.63.0607251308380.29667@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <44C5FB3E.9020301@catalyst.net.nz>
Hi,
On Tue, 25 Jul 2006, Martin Langhoff (CatalystIT) wrote:
Show 7 quoted lines
> Johannes Schindelin wrote: > > > I still get this warning: > > > > closing dbh with active statement handles > > Ack to that too. Perhaps an END block would help?
Since my BASIC days on a VC-20 (no, not the airplane), I hardly used an END statement ;-) Well, maybe in that Pascal course, but not in Perl, anyway. So, I do not understand...
Show 7 quoted lines
> A quick check of man DBI tells me that $dbh->CachedKids will be a > hashref where the values are refs to the cached statement handles. > > IMHO it's a DBI bug -- statement handles only referenced by $dbh->CachedKids > should cleanup silently. prepare_cached() is a convenience method so that you > _don't_ have to keep track of the handles manually. Forcing a manual cleanup > throws a good part of the convenience out.
I agree fully.
Ciao, Dscho