summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/postgresql/json.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2023-04-30 13:56:33 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2023-04-30 14:53:08 -0400
commit56443acb89e531b3695de669c76297e4a5568fc1 (patch)
tree83a9307f7d051de9a03c8a5a83c3735639f80af9 /lib/sqlalchemy/dialects/postgresql/json.py
parent39c8e95b1f50190ff30a836b2bcf13ba2cacc052 (diff)
downloadsqlalchemy-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 'lib/sqlalchemy/dialects/postgresql/json.py')
0 files changed, 0 insertions, 0 deletions