Fix spurious ROLLBACK statements when a TxnScopeGuard fails a deferred commit
authorPeter Rabbitson <ribasushi@cpan.org>
Tue, 3 Nov 2015 12:23:52 +0000 (13:23 +0100)
committerPeter Rabbitson <ribasushi@cpan.org>
Tue, 3 Nov 2015 12:23:52 +0000 (13:23 +0100)
commit0bec44d5d7af72fd110ab6bff067f865f34db5d0
tree51ebfc8ceeb12f3ae32bc8c6ca161d6726c0b5fc
parenta2c77c97735124a7bf4073cf5cef5480bec752a8
Fix spurious ROLLBACK statements when a TxnScopeGuard fails a deferred commit

This is a *temporary workaround*, and I am really unhappy about it... it just
feels wrong. See the comment in lib/DBIx/Class/Storage/TxnScopeGuard.pm
Changes
lib/DBIx/Class/Storage/TxnScopeGuard.pm
t/72pg.t