]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed a bug involving the new flattened JOIN structures which
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 13 Jan 2014 22:53:37 +0000 (17:53 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 13 Jan 2014 22:53:37 +0000 (17:53 -0500)
commitbd74f81bb5b1158a1bc0a44e9990d4584380c481
tree8767a4871f7d149cee9a37d37199586437ccce1a
parent62ec682239883cac7a83e2b2d5c26c6f22edc6bf
- Fixed a bug involving the new flattened JOIN structures which
are used with :func:`.joinedload()` (thereby causing a regression
in joined eager loading) as well as :func:`.aliased`
in conjunction with the ``flat=True`` flag and joined-table inheritance;
basically multiple joins across a "parent JOIN sub" entity using different
paths to get to a target class wouldn't form the correct ON conditions.
An adjustment / simplification made in the mechanics of figuring
out the "left side" of the join in the case of an aliased, joined-inh
class repairs the issue. [ticket:2908]
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/orm/relationships.py
test/orm/inheritance/test_relationship.py