]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Interpret empty LIMIT, expression LIMIT correctly
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 9 Nov 2019 21:12:30 +0000 (16:12 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 9 Nov 2019 21:12:30 +0000 (16:12 -0500)
commitb3c3562ecf67ae7c94091287504579fcace6a500
treea3e6a37d22f9ff239264d0a10ebf41c91358f3ae
parented2c5f9ad1f92010e447797576ab4eef3beee21f
Interpret empty LIMIT, expression LIMIT correctly

Fixed issue in MSSQL dialect where an expression-based OFFSET value in a
SELECT would be rejected, even though the dialect can render this
expression inside of a ROW NUMBER-oriented LIMIT/OFFSET construct.

Fixes: #4973
Change-Id: I040d34f781791c4ed5a727e1b8fb98c68ddd0622
doc/build/changelog/unreleased_13/4973.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/mssql/base.py
test/dialect/mssql/test_compiler.py
test/requirements.py