]> 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:20:55 +0000 (13:20 -0400)
commit61384fd0e52932cf4a01654990963cc45c45dca2
tree260b1fac04e6f23765dcd53a4640a6bf2b7465e5
parent3d7b18863813d98c66d76c5fbbba037d1ed18930
- 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