]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Don't load expired objects from evaluator
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 21 Oct 2020 19:01:03 +0000 (15:01 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 21 Oct 2020 19:24:48 +0000 (15:24 -0400)
commit004354fc2bd01671a88956aa250f13ba2ac31010
tree5d6bbe8f4739c76255e1722280bb505fc78f2252
parent51ab4430fb34e9e4dbaa1d4457339c059fdaf9b1
Don't load expired objects from evaluator

part 2 of e3dc20ff27fa75e571fb2631e64737ea8f25f7c5, the
pre-evaluate step was also emitting SELECT for expired objects.

Fixes: #5664
Change-Id: I9f5de2a5d480eafeb290ec0c45ce2a82ec93475b
(cherry picked from commit cd7d14f7ce8ef54e66d166b4904e8c21e967a5a2)
lib/sqlalchemy/orm/persistence.py
test/orm/test_evaluator.py
test/orm/test_update_delete.py