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 /doc | |
| 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 'doc')
| -rw-r--r-- | doc/build/changelog/changelog_08.rst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/build/changelog/changelog_08.rst b/doc/build/changelog/changelog_08.rst index 4ef11590f..5046c6689 100644 --- a/doc/build/changelog/changelog_08.rst +++ b/doc/build/changelog/changelog_08.rst @@ -8,6 +8,20 @@ .. change:: :tags: bug, orm + :tickets: 2699 + + 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. + + .. change:: + :tags: bug, orm :tickets: 2689 Fixed bug in unit of work whereby a joined-inheritance |
