diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2018-01-04 14:09:32 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2018-01-04 14:09:32 -0500 |
commit | 5811276bb7515af3418a6d20f5213d658e320121 (patch) | |
tree | d595e9c2659abda8f8eee65bbc74fe038aa4c49f /lib/sqlalchemy/testing/assertions.py | |
parent | 435aaff20effbc914bbb4d19f177df3c1f5f15ab (diff) | |
download | sqlalchemy-5811276bb7515af3418a6d20f5213d658e320121.tar.gz |
Check for object was expunged before restoring after pk switch + rollback
Fixed bug where an object that is expunged during a rollback of
a nested or subtransaction which also had its primary key mutated
would not be correctly removed from the session, causing subsequent
issues in using the session.
Change-Id: I57e2888902015d67ee11857e44382818f1d2f8bc
Fixes: #4151
Diffstat (limited to 'lib/sqlalchemy/testing/assertions.py')
0 files changed, 0 insertions, 0 deletions