diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-04-09 11:52:21 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2013-04-09 11:52:21 -0400 |
commit | df4e59ff557b16202c4c3e47ad48667ba1e143c0 (patch) | |
tree | 54c32f2a3023a6bd943a5fd1d736daafca338cc9 /lib/sqlalchemy/sql/expression.py | |
parent | 6bdd3bb93fd18a4aec54ee2a836875a922dcaab3 (diff) | |
download | sqlalchemy-df4e59ff557b16202c4c3e47ad48667ba1e143c0.tar.gz |
Fixed bug when a query of the form:
``query(SubClass).options(subqueryload(Baseclass.attrname))``,
where ``SubClass`` is a joined inh of ``BaseClass``,
would fail to apply the ``JOIN`` inside the subquery
on the attribute load, producing a cartesian product.
The populated results still tended to be correct as additional
rows are just ignored, so this issue may be present as a
performance degradation in applications that are
otherwise working correctly. [ticket:2699]
Diffstat (limited to 'lib/sqlalchemy/sql/expression.py')
0 files changed, 0 insertions, 0 deletions