]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add "existing" populators for subqueryload
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 16 Jan 2017 17:10:08 +0000 (12:10 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 16 Jan 2017 18:16:25 +0000 (13:16 -0500)
commit3aefc6e8a4a02892de91bdac9a917d1697c90ea6
tree0f06fa7e2831d266142f4d831de8f62979eca9ec
parent710ce4aaf9130cce0ad17cc471be57038dd641aa
Add "existing" populators for subqueryload

Fixed bug in subquery loading where an object encountered as an
"existing" row, e.g. already loaded from a different path in the
same query, would not invoke subquery loaders for unloaded attributes
that specified this loading.  This issue is in the same area
as that of :ticket:`3431`, :ticket:`3811` which involved
similar issues with joined loading.

Change-Id: If111a76b0812010905b0ac811276a816779d297f
Fixes: #3854
doc/build/changelog/changelog_11.rst
lib/sqlalchemy/orm/strategies.py
test/orm/test_subquery_relations.py