A minor update:

The DBI docs state that swtiching the value of $dbh->{AutoCommit} from off
to on should cause a $dbh->commit to be called, but setting
$dbh->{ing_rollback} to on will cause a $dbh->rollback to be called instead.

This is mainly usefull in situations where you normally have
$dbh->{AutoCommit}=1 and only in some subroutines change it to
$dbh->{AutoCommit}=0 using
   local $dbh->{AutoCommit}=0;
to get it reverted to normal use no matter how you leave the subroutine.
In these cases it seems much more sensible to rollback any uncommited
transactions on resetting AutCommit than to have them commited.

Also some minor changes to Ingperl (the old perl4 emulation layer) to keep
it up to date with the changes in the DBI.

Henrik Tougaard, [EMAIL PROTECTED]

Reply via email to