]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed a regression caused by :ticket:`2976` released in 0.9.4 where
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 15 Jul 2014 17:20:55 +0000 (13:20 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 15 Jul 2014 17:22:28 +0000 (13:22 -0400)
commit43663e7aac9950a629403ff32f836114b59dd049
treeb120d669bf5f7e0091b1975dca89bf989a49b762
parentb090e3a3e27430cd4d3bc6a588db4849339d0ea7
- Fixed a regression caused by :ticket:`2976` released in 0.9.4 where
the "outer join" propagation along a chain of joined eager loads
would incorrectly convert an "inner join" along a sibling join path
into an outer join as well, when only descendant paths should be
receiving the "outer join" propagation; additionally, fixed related
issue where "nested" join propagation would take place inappropriately
between two sibling join paths.

this is accomplished by re-introducing the removed flag "allow_innerjoin",
now inverted and named "chained_from_outerjoin".  Propagating this flag
allows us to know when we have encountered an outerjoin along a load
path, without confusing it for state obtained from a sibling path.

fixes #3131
ref #2976
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/orm/strategies.py
test/orm/test_eager_relations.py