----- Original Message -----
From: " Laurie Gennari" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 05, 2002 1:10 AM
Subject: occasional "doing rollback" error


> I've been staring at this for a while and am getting nowhere. Hope the
list can help...
>
> One of the guys is getting intermittent errors out of the script below.
The error is ""Issuing rollback<> for database handle being DESTROY'd
without explicit disconnect<>."

Quess the error message sais it all.
When your script dies before it reaches the $dbh->disconnect() statement,
your $dbh is cleaned up, but you didnt call disconnect() on it.
Therefore it issues a rollback when your script terminates.

You could put the disconnect in an END block, or keep your script from dying
at unexpected places :-)

Maarten.


Reply via email to