[DBIx-Class-Devel] [Perl5/DBIx-Class] Deferred rollback (#123)

M Conrad notifications at github.com
Wed Jan 31 06:40:15 GMT 2018


This is my attempt at fixing an edge case where an inner transaction performs a rollback but an outer transaction performs a commit, which can happen in various ways by catching exceptions in txn_do blocks and etc.
You can view, comment on, or merge this pull request online at:

  https://github.com/Perl5/DBIx-Class/pull/123

-- Commit Summary --

  * Test case for caught errors from nested rollback
  * deferred_rollback: better handling of invalid nested rollbacks

-- File Changes --

    M lib/DBIx/Class/Storage.pm (57)
    M lib/DBIx/Class/Storage/BlockRunner.pm (12)
    M lib/DBIx/Class/Storage/DBI.pm (2)
    M lib/DBIx/Class/Storage/DBI/Replicated.pm (2)
    M t/storage/txn.t (41)

-- Patch Links --

https://github.com/Perl5/DBIx-Class/pull/123.patch
https://github.com/Perl5/DBIx-Class/pull/123.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/Perl5/DBIx-Class/pull/123
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20180131/4e96847b/attachment.htm>


More information about the DBIx-Class-Devel mailing list