]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
don't rely on pk-only group_by
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 25 Mar 2021 14:37:12 +0000 (10:37 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 25 Mar 2021 14:37:12 +0000 (10:37 -0400)
commit96dffd0ae9d19050f1d6000c35c4347bcb2dc6fe
tree053f3cca3633c450dd14b57bdf014a7824103909
parente3b09f65df5dd51f87515f115827dedba50e9dca
don't rely on pk-only group_by

Fixed the test test_aliased_stmt_includes_unnamed_fn
recently added in c1c999c01d to include the additional
column in the GROUP BY statement, allowing this statement
to succeed on SQL Server which seems to not support "group by pk only"
syntax.

Change-Id: I42184d77c9017ebdb76ac5a9ae1f8128561243ec
test/orm/test_eager_relations.py