]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed regression where we apparently still create an implicit
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 2 Jan 2014 23:26:32 +0000 (18:26 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 2 Jan 2014 23:26:32 +0000 (18:26 -0500)
commitca8fca63916897f1bbc2fa4f1ee440c6b5d9a88a
treefaedf154f7574d302204e0c556a463e9d01bf451
parent504543090213db5b9c7cecb27a78b12fa12e9024
- Fixed regression where we apparently still create an implicit
alias when saying query(B).join(B.cs), where "C" is a joined inh
class; however, this implicit alias was created only considering
the immediate left side, and not a longer chain of joins along different
joined-inh subclasses of the same base.   As long as we're still
implicitly aliasing in this case, the behavior is dialed back a bit
so that it will alias the right side in a wider variety of cases.
[ticket:2903]
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/orm/query.py
test/orm/inheritance/test_relationship.py
test/orm/test_joins.py