]> 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)
commit03cb8ce548a99b97852c25f2fec26ed611afbb5c
treec8843f6b02b22b835458a039d3dcc3b099bbcbad
parent81c1ec33e37c23be58285d4ef607de9b670c547f
  - [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