]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed an obscure bug where the wrong results would be
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 8 Jun 2013 03:04:33 +0000 (23:04 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 8 Jun 2013 03:04:33 +0000 (23:04 -0400)
commitd5363fca5400f6c4969c2756fcfcdae6b9703091
tree2893e5faa72e8606f4664ab7efee9d346586e37f
parent0d9ec9fe840eb71935c2a55c3063620a028e59aa
- Fixed an obscure bug where the wrong results would be
fetched when joining/joinedloading across a many-to-many
relationship to a single-table-inheriting
subclass with a specific discriminator value, due to "secondary"
rows that would come back.  The "secondary" and right-side
tables are now inner joined inside of parenthesis for all
ORM joins on many-to-many relationships so that the left->right
join can accurately filtered.
[ticket:2369]
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/orm/util.py
lib/sqlalchemy/sql/util.py
test/orm/inheritance/test_relationship.py
test/orm/inheritance/test_single.py
test/orm/test_eager_relations.py
test/orm/test_froms.py