[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Omaha.pm] Autocommmit?



> 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