Jonathan Vanasco wrote:
Its a really peculiar thing - apache::dbi does the automatic rollback at the end of scripts which is great for keeping things clean -- but if you die for another reason and don't do a rollback, you can get that implicit commit on the next request serviced by the child. and that's just confusing.

No, it will always do a rollback, even if your script dies. The only reason it didn't in your case is that you connected with AutoCommit on. That's why I suggested that you push the cleanup handler yourself, since Apache::DBI won't do it when AutoCommit is on.

- Perrin

Reply via email to