]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
uniquify when popping literal_execute_params from param dict
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 5 Apr 2021 20:32:14 +0000 (16:32 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 5 Apr 2021 23:30:19 +0000 (19:30 -0400)
commit279d185058ecf322b0c7a1fc8263dbf4da56e9b7
tree3f2aea8c95ac3f8a825f974a9228a983af823ba4
parent165c3a65dcb1ba3f42ecf2b5da7c298bdc259f9b
uniquify when popping literal_execute_params from param dict

Fixed further issues in the same area as that of :ticket:`6173` released in
1.4.5, where a "postcompile" parameter, again most typically those used for
LIMIT/OFFSET rendering in Oracle and SQL Server, would fail to be processed
correctly if the same parameter rendered in multiple places in the
statement.

Fixes: #6202
Change-Id: I95c355aa52a7546fe579ad67f9a8402a213cb79d
doc/build/changelog/unreleased_14/6202.rst [new file with mode: 0644]
lib/sqlalchemy/sql/compiler.py
lib/sqlalchemy/testing/suite/test_select.py
test/sql/test_compiler.py