Files
sqlalchemy/test/sql
Mike Bayer 522baa306f cache key share; support correct traverse of 'of'
Fixed caching issue where the
:paramref:`_sql.Select.with_for_update.key_share` element of
:meth:`_sql.Select.with_for_update` was not considered as part of the cache
key, leading to incorrect caching if different variations of this parameter
were used with an otherwise identical statement.

Also repairs a traversal issue where the ``of`` element of
``ForUpdateArg`` when set to ``None`` cannot be compared against a
non-None element because the traversal defines it as a clauselist.
Traversal in this case is adjusted to accommodate for this case so that
we dont need to create a risky-to-backport change to ``ForUpdateArg``
itself.

Fixes: #11544
Change-Id: Ie8a50716df06977af58b0c22a8c10e1b64d972b9
(cherry picked from commit 6d2f43e14f)
2024-06-27 18:24:32 -04:00
..
2021-11-24 22:51:27 -05:00
2024-02-05 19:28:22 +01:00
2023-05-09 20:23:48 -04:00
2024-02-05 19:28:22 +01:00
2024-02-05 19:28:22 +01:00
2024-02-05 19:28:22 +01:00