From: Tim Bunce [mailto:[EMAIL PROTECTED]
> But the "Issuing rollback()" warning is now only generated if AutoCommit
> is turned off and Executed is true.

I'll miss the warning. It was an easy way to know I or my programmers were being 
sloppy with explicit disconnects.

Enterprise wide all our connects are handled in a shared module in which I set up 
default safety nets:

    $options{'RaiseError'} = 1 unless defined($options{'RaiseError'});
    $options{'PrintError'} = 1 unless defined($options{'PrintError'});
    $options{'AutoCommit'} = 0 unless defined($options{'AutoCommit'});

I would *love* to set another flag/whatever so DBI would bark at us whenever $dbh's 
were garbage collected. Then we'd explicitly know to slap ourselves for writing sloppy 
code... With the warning gone I fear we won't know we're being slobs, especially under 
mod_perl...?

$0.02,

j


Reply via email to