2015-06-04 14:48 GMT-03:00 Galen Charlton <gmc@esilibrary.com>:
Hi,
On Thu, Jun 4, 2015 at 1:13 PM, Tomas Cohen Arazi <tomascohen@gmail.com>
wrote:
to our (abuse?) of $dbh->{AutoCommit} = 0 on the tests.
Not abuse - one way or another, the DB-dependent tests really ought not to be make permanent changes to the database.
Agreed.
Before someone says it: reverting the commits will put us back to the previous state, of course. But it will just hide the problem for a while.
Time to revert regardless. :)
Unless we do what you propose :)
However, here's a diff that shows one way to get DBIx::Class and DBI to stop fighting over who gets to control the transaction: http://paste.lisp.org/display/149194
Thanks for the solution. -- Tomás Cohen Arazi Prosecretaría de Informática Universidad Nacional de Córdoba ✆ +54 351 5353750 ext 13168 GPG: B76C 6E7C 2D80 551A C765 E225 0A27 2EA1 B2F3 C15F