]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Maintain compiled_params / replacement_expressions within expanding IN
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 21 Dec 2018 22:35:12 +0000 (17:35 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 22 Dec 2018 02:56:45 +0000 (21:56 -0500)
commite4ec7d2b22546587d7a692041c6c70d23f6de3ac
tree8ba44988d4898d40b13d907fe49d7f5177e8124e
parentae45db1bf87407539f2a0f718aa738f259b1b208
Maintain compiled_params / replacement_expressions within expanding IN

Fixed issue in "expanding IN" feature where using the same bound parameter
name more than once in a query would lead to a KeyError within the process
of rewriting the parameters in the query.

Fixes: #4394
Change-Id: Ibcadce9fefbcb060266d9447c2044ee6efeccf5a
(cherry picked from commit c495769751e8b19d54fb92388ced587b5d13b85d)
doc/build/changelog/unreleased_12/4394.rst [new file with mode: 0644]
lib/sqlalchemy/engine/default.py
test/sql/test_query.py