]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
MSSQL: only compile ORDER BY if it will be rendered 4588/head
authorMatt Lewellyn <guruofgentoo@gmail.com>
Wed, 3 Apr 2019 16:20:47 +0000 (12:20 -0400)
committerMatt Lewellyn <guruofgentoo@gmail.com>
Wed, 3 Apr 2019 16:23:54 +0000 (12:23 -0400)
commit2992a473e0f6d4fc27794cfd949ba20a81fad2ca
tree1f60e7b3fb6f77ecdcc82f1b7ec256289429e0dd
parente67b4e768bcb80e8fc3dcd486ed917f3931cb461
MSSQL: only compile ORDER BY if it will be rendered
- prevents parameters from being included in lists sent to the DBAPI layer if those positions do not exist in the query
fixes #4587
lib/sqlalchemy/dialects/mssql/base.py
test/dialect/mssql/test_compiler.py