diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2023-04-30 13:56:33 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2023-04-30 14:53:08 -0400 |
| commit | 56443acb89e531b3695de669c76297e4a5568fc1 (patch) | |
| tree | 83a9307f7d051de9a03c8a5a83c3735639f80af9 /doc/build | |
| parent | 39c8e95b1f50190ff30a836b2bcf13ba2cacc052 (diff) | |
| download | sqlalchemy-56443acb89e531b3695de669c76297e4a5568fc1.tar.gz | |
do not allow non-cache-key entity objects in annotations
Fixed critical caching issue where combination of :func:`_orm.aliased()`
:func:`_sql.case` and :func:`_hybrid.hybrid_property` expressions would
cause a cache key mismatch, leading to cache keys that held onto the actual
:func:`_orm.aliased` object while also not matching each other, filling up
the cache.
Fixes: #9728
Change-Id: I700645b5629a81a0104cf923db72a7421fa43ff4
Diffstat (limited to 'doc/build')
| -rw-r--r-- | doc/build/changelog/unreleased_14/9728.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/build/changelog/unreleased_14/9728.rst b/doc/build/changelog/unreleased_14/9728.rst new file mode 100644 index 000000000..a8bced33b --- /dev/null +++ b/doc/build/changelog/unreleased_14/9728.rst @@ -0,0 +1,10 @@ +.. change:: + :tags: bug, orm + :tickets: 9728 + :versions: 2.0.12 + + Fixed critical caching issue where combination of :func:`_orm.aliased()` + :func:`_sql.case` and :func:`_hybrid.hybrid_property` expressions would + cause a cache key mismatch, leading to cache keys that held onto the actual + :func:`_orm.aliased` object while also not matching each other, filling up + the cache. |
