]> 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:01:43 +0000 (10:01 -0400)
commit2168a64affb2e299b9a37079af7b2a8d4ae0ff64
treeda44a47e6dcd15a0486f39abc580465d5480e2df
parent7935b76d9e5b5fd4e64b2c6c3473737186acf2db
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
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