]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
dont mis-render value from previous loop iteration
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 19 Oct 2023 15:21:26 +0000 (11:21 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 19 Oct 2023 15:26:37 +0000 (11:26 -0400)
commitf3e0ee079abfcb4bf6b75d48982b824e759d859f
tree1326095aa4c5f0697008864d7c8f73181c91cb32
parent3ac3f074266f85694de8b2a73d2f93968554004f
dont mis-render value from previous loop iteration

Fixed issue where using the same bound parameter more than once with
``literal_execute=True`` in some combinations with other literal rendering
parameters would cause the wrong values to render due to an iteration
issue.

Fixes: #10142
Change-Id: Idde314006568e3445558f0104aed9d2f4af72b56
(cherry picked from commit 9fe7c291921540df9173820d3a06b949d7a3d949)
doc/build/changelog/unreleased_14/10142.rst [new file with mode: 0644]
lib/sqlalchemy/sql/compiler.py
test/sql/test_compiler.py