]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
maintain complete cloned_set for BindParameter
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 6 Apr 2022 13:41:11 +0000 (09:41 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 6 Apr 2022 14:37:09 +0000 (10:37 -0400)
commitd1f97828fd45ad65c46c6cb8eb8e4091ad027274
tree489f8aed5ed492c6d5764c7b9aa25aba47262cd1
parent77654cb534de126471263f8876b6be6794da8506
maintain complete cloned_set for BindParameter

Fixed regression caused by :ticket:`7823` which impacted the caching
system, such that bound parameters that had been "cloned" within ORM
operations, such as polymorphic loading, would in some cases not acquire
their correct execution-time value leading to incorrect bind values being
rendered.

Fixes: #7903
Change-Id: I61c802749b859bebeb127d24e66d6e77d13ce57a
(cherry picked from commit 2168a64affb2e299b9a37079af7b2a8d4ae0ff64)
doc/build/changelog/unreleased_14/7903.rst [new file with mode: 0644]
lib/sqlalchemy/sql/elements.py
lib/sqlalchemy/testing/fixtures.py
test/aaa_profiling/test_memusage.py
test/orm/inheritance/test_polymorphic_rel.py
test/sql/test_compiler.py