]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- [bug] Extra logic has been added to the "flush"
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 22 Sep 2012 20:03:57 +0000 (16:03 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 22 Sep 2012 20:03:57 +0000 (16:03 -0400)
commit2de752afb4d28b156be7d13cc5618e3db9b4e198
tree31ef21884d30a3e3f2a283e6b58be2213366d61e
parent214b505ed50f12226c012e271c14fb933146c7f3
- [bug] Extra logic has been added to the "flush"
    that occurs within Session.commit(), such that the
    extra state added by an after_flush() or
    after_flush_postexec() hook is also flushed in a
    subsequent flush, before the "commit" completes.
    Subsequent calls to flush() will continue until
    the after_flush hooks stop adding new state.
    An "overflow" counter of 100 is also in place,
    in the event of a broken after_flush() hook
    adding new content each time. [ticket:2566]
CHANGES
lib/sqlalchemy/orm/session.py
test/orm/test_transaction.py