]> 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 16:34:27 +0000 (12:34 -0400)
commit2303c46087a6a2e49058ae71bb924fff6a2f21f9
tree5e00f04d614ac1359254ae57e3cd3a3a88976720
parent1f5e9cbd6603dfaf5ccfdf2f5d82af887accf585
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
(cherry picked from commit 7ac2d5c93b6334528aff93939559eee133f3e9fc)
doc/build/changelog/unreleased_13/5470.rst
lib/sqlalchemy/sql/util.py
test/orm/test_query.py