]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
repair Join.is_derived_from() to not rely on simple identity
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 7 Jun 2021 21:47:07 +0000 (17:47 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 7 Jun 2021 21:48:55 +0000 (17:48 -0400)
commitbface2e2fae834246729e539646ce229b8a113d1
treeed4572be7043a1d4f8e3a20300cd92ad4bf89a5a
parent94169108cdd4dace09b752a6af4f4404819b49a3
repair Join.is_derived_from() to not rely on simple identity

Fixed issue where query production for joinedload against a complex left
hand side involving joined-table inheritance could fail to produce a
correct query, due to a clause adaption issue.

Fixes: #6595
Change-Id: Id4b839d52447cdc103b392dd8946c4cfa7a829e1
doc/build/changelog/unreleased_14/6595.rst [new file with mode: 0644]
lib/sqlalchemy/sql/selectable.py
test/orm/test_eager_relations.py
test/sql/test_selectable.py