]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
dont leak mutating bindparams list into AnalyzedFunction
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 12 Nov 2024 19:50:50 +0000 (14:50 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 13 Nov 2024 16:22:41 +0000 (11:22 -0500)
commit5bbefc41b7b2695c95c9c93bcaabd8c4731e348e
tree91332c6a9d2cf102f3ace9ba06243fbd59164244
parentfa76fbda4aa2887d001e1e15f9bfe9dfb24fadc8
dont leak mutating bindparams list into AnalyzedFunction

Fixed issue in "lambda SQL" feature where the tracking of bound parameters
could be corrupted if the same lambda were evaluated across multiple
compile phases, including when using the same lambda across multiple engine
instances or with statement caching disabled.

Fixes: #12084
Change-Id: I327aa93ce7feb2326a22113164bd834b96b6b889
doc/build/changelog/unreleased_20/12084.rst [new file with mode: 0644]
lib/sqlalchemy/sql/lambdas.py
test/sql/test_lambdas.py