[Omaha.pm] Autocommmit?
Jay Hannah
jhannah at omnihotels.com
Tue Feb 21 10:57:12 PST 2006
> Anyone seen this error before?
>
> DBD::mysql::db commit failed: Commmit ineffective while AutoCommit is
on
Yup. That happens when you $dbh->commit if you set AutoCommit on when
you connected to the database. (DBI is warning you that you just
explicitly did something useless.)
Turn AutoCommit off then $dbh->commit manually, or leave AutoCommit on
and don't $dbh->commit.
j
More information about the Omaha-pm
mailing list