I find it difficult enough to jump through hoops,
much less hooks.

;)

On Wed, 2004-02-11 at 05:15, Andrew Pimlott wrote:
> On Wed, Feb 11, 2004 at 09:35:59AM +0000, Tim Bunce wrote:
> > For mod_perl you can register a suitable callback.
> 
> I am using mod_perl, and that's what I mean about having to jump through
> hooks (probably not that difficult in this case) to suppress the
> warning.
> 
> > The warning as it's a significant satefy feature, however it can be
> > turned off, along with various other warnings, by $dbh->{Warn} = 0,
> > but I don't recommend that.
> 
> I wouldn't even consider it.
> 
> > p.s.  The plan is to have a way for a driver to indicate if it's in a
> > transaction and, for drivers that can, use that to skip the warning.
> 
> Ok, so you'd like to issue the warning in the dangerous case only, but
> DBI doesn't have the necessary information.  That seems like a rather
> conspicuous flaw in the design, but I'm glad there's a plan to fix it!
> 
> Thanks for the explanation.
> 
> Andrew

Reply via email to