[Koha-bugs] [Bug 28399] batchRebuildItemsTables.pl error 'Already in a transaction'

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jul 5 16:15:13 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28399

--- Comment #5 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
(In reply to Marcel de Rooy from comment #4)
> Last one:
> $schema->txn_commit unless $test_parameter;
> 
> Would it be more appropriate/neat to rollback when testing here?

It will rollback without commit, the result is the same. I just kept the same
line as before. Happy to adjust if you think it is more readable with rollback
(note that we are using "unless $test" above).

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list