]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Further fixes for ticket 5470
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 13 Aug 2020 14:43:53 +0000 (10:43 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 13 Aug 2020 18:26:32 +0000 (14:26 -0400)
commit9c0b7baa956a7309f0a95fc36322a759b293eba1
tree5284a54db740e02478ff919684b5d6f5ac06a351
parent65da69910944ccbad0c6d008b94ae8271aae4762
Further fixes for ticket 5470

The fix for #5470 didn't actually take into account that
the "distinct" logic in query was also doubling up the criteria.
Added many more tests.   the 1.3 version here will be different
than 1.4 as the regression is not quite the same.

Fixes: #5470
Change-Id: I16a23917cab175761de9c867d9d9ac55031d9b97
doc/build/changelog/unreleased_13/5470.rst
lib/sqlalchemy/orm/context.py
lib/sqlalchemy/sql/util.py
test/orm/test_query.py