]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Turned off the "simple order by" flag on the MSSQL dialect; this
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 24 Mar 2015 16:28:19 +0000 (12:28 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 24 Mar 2015 16:28:19 +0000 (12:28 -0400)
commit86cebccc4c3cfb687cbbe9703cf732641c55ce44
tree36ad45dfcfe838562c8c5c1a6ea235459f35dbb0
parentbdcaa0f6ca580b54b9c25178441fcbe8f2a4e387
- Turned off the "simple order by" flag on the MSSQL dialect; this
is the flag that per :ticket:`2992` causes an order by or group by
an expression that's also in the columns clause to be copied by
label, even if referenced as the expression object.   The behavior
for MSSQL is now the old behavior that copies the whole expression
in by default, as MSSQL can be picky on these particularly in
GROUP BY expressions.
fixes #3338
- Add a test that includes a composed label in a GROUP BY
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/dialects/mssql/base.py
lib/sqlalchemy/testing/suite/test_select.py