[Sqlalchemy-commits] commit/sqlalchemy: 2 new changesets
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2016-10-27 14:44:53
|
2 new commits in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/e56a9d85acd1/ Changeset: e56a9d85acd1 Branch: None User: zzzeek Date: 2016-10-27 13:51:50+00:00 Summary: Restore object to the identity_map upon delete() unconditionally Fixed regression caused by :ticket:`2677` whereby calling :meth:`.Session.delete` on an object that was already flushed as deleted in that session would fail to set up the object in the identity map (or reject the object), causing flush errors as the object were in a state not accommodated by the unit of work. The pre-1.1 behavior in this case has been restored, which is that the object is put back into the identity map so that the DELETE statement will be attempted again, which emits a warning that the number of expected rows was not matched (unless the row were restored outside of the session). Change-Id: I9a8871f82cb1ebe67a7ad54d888d5ee835a9a40a Fixes: #3839 Affected #: 5 files https://bitbucket.org/zzzeek/sqlalchemy/commits/3f1fe4e33c32/ Changeset: 3f1fe4e33c32 Branch: master User: zzzeek Date: 2016-10-27 14:46:15+00:00 Summary: Merge "Restore object to the identity_map upon delete() unconditionally" Affected #: 5 files Repository URL: https://bitbucket.org/zzzeek/sqlalchemy/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. |