]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Don't include SelectBase when searching for surface column elements
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 5 Oct 2017 15:25:10 +0000 (11:25 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 5 Oct 2017 15:29:11 +0000 (11:29 -0400)
commit1281e6e6c41ad3d7240fe50f4fecab4083b79975
treec34474735e097082259b8b9cb063e4a6b06d6b02
parent2c280791886756422a8103769cf131b0fe292ffe
Don't include SelectBase when searching for surface column elements

Fixed bug where correlated select used against single-table inheritance
entity would fail to render correctly in the outer query, due to adjustment
for single inheritance discriminator criteria inappropriately re-applying
the criteria to the outer query.

Change-Id: I38df21f1392af1843e10119682fa0635d346e2a8
Fixes: #4103
doc/build/changelog/unreleased_11/4103.rst [new file with mode: 0644]
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/sql/util.py
test/orm/inheritance/test_single.py