![]() |
|
Perl: the Markov chain saw | |
PerlMonks |
Re: How to remove the warning: "there is already a transaction in progress" when using lock tableby runrig (Abbot) |
on Apr 13, 2016 at 20:39 UTC ( #1160345=note: print w/replies, xml ) | Need Help?? |
With AutoCommit => 0 you are already in a transaction. When you want to commit or rollback, do $dbh->commit() or $dbh->rollback(). Either of those implicitly starts a new transaction. Do not explicity execute "BEGIN WORK" or "COMMIT WORK".
In Section
Seekers of Perl Wisdom
|
|