]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Ensure final link in subqueryload join is correct
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 13 Aug 2016 03:35:40 +0000 (23:35 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 13 Aug 2016 03:36:58 +0000 (23:36 -0400)
commit1f956ed7b3b64ccad1f38e1b31de2a9b78c08be1
treea3a67d728b0156daf45271b23c0b01740f34b115
parent68b6984912760bfe4d9270750d8f39b9036b65b5
Ensure final link in subqueryload join is correct

Fixed bug in subquery eager loading where a subqueryload
of an "of_type()" object linked to a second subqueryload of a plain
mapped class would fail to link the joins correctly.

Change-Id: I4be89e6f5e492438464a2ded01eb9c84d7ff7d4e
Fixes: #3773
(cherry picked from commit b07eb3cb45d1a344759a2eee9d2166fbf3e44888)
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/orm/strategies.py
test/orm/test_of_type.py