Massive cleanup of transaction handlers
authorPeter Rabbitson <ribasushi@cpan.org>
Thu, 21 Oct 2010 22:37:06 +0000 (00:37 +0200)
committerPeter Rabbitson <ribasushi@cpan.org>
Fri, 22 Oct 2010 11:25:18 +0000 (13:25 +0200)
commit7d216b101775c472b012b257d848f50d78b193c8
treedafff36378d969576e7ffbfdc43136cb5e413cec
parentf410ea47d00b415ebb9b277be6417d724c9a643f
Massive cleanup of transaction handlers

Audit the txn_do/scope_guard/txn_begin|txn_commit codepaths to make
sure they can be interchangeably used and still just DTRT.
Write a ton of tests to codify current behavior

In the process revert d8a5a2340b0ac0dbf1c3e7779e7951b1bec2ccd5 which
introduces a regression (now poperly caught by tests)
lib/DBIx/Class/Storage/DBI.pm
lib/DBIx/Class/Storage/TxnScopeGuard.pm
t/50fork.t
t/storage/txn.t