diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-10-21 13:58:22 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-10-21 14:03:12 -0400 |
commit | e3dc20ff27fa75e571fb2631e64737ea8f25f7c5 (patch) | |
tree | 7bc037f85ad4a3ac0399bef46fb05bdefd1f1973 /lib/sqlalchemy/sql/operators.py | |
parent | 04d45f8adeafe5bb8981e7cfd94b11d36248d860 (diff) | |
download | sqlalchemy-e3dc20ff27fa75e571fb2631e64737ea8f25f7c5.tar.gz |
Don't populate expired attrs w/ evaluator
Fixed bug in :meth:`_orm.Query.update` where objects in the
:class:`_orm.Session` that were already expired would be unnecessarily
SELECTed individually when they were refreshed by the "evaluate"
synchronize strategy.
For 1.4 there was also a similar issue with fetch that would actually
get the wrong data back, as the new value would be loaded, then
applied with the evaluator.
Fixes: #5664
Change-Id: I6e6aff88462654fcefa9fce2b45f5446c418deee
Diffstat (limited to 'lib/sqlalchemy/sql/operators.py')
0 files changed, 0 insertions, 0 deletions