diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2017-02-14 11:39:44 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2017-03-15 17:22:59 -0400 |
commit | 2bfe19152d49b969acdc4607bf7c33727f796f5a (patch) | |
tree | 0f71aa7ac14459bb03f1b6ced1c66741d90a9232 /lib/sqlalchemy/sql/compiler.py | |
parent | b5b6e9574854fd9784d7c26e2c585a3ff5ae4cb6 (diff) | |
download | sqlalchemy-2bfe19152d49b969acdc4607bf7c33727f796f5a.tar.gz |
Don't mutate old collection on bulk replace
For a bulk replace, assume the old collection is no longer
useful to the attribute system and only send the removal events,
not actually mutated the collection.
this changes behavior significantly and also means that dispose_collection
now receives the old collection intact.
Change-Id: Ic2685c85438191f07797d9ef97833a2cfdc4fcc2
Fixes: #3913
Diffstat (limited to 'lib/sqlalchemy/sql/compiler.py')
0 files changed, 0 insertions, 0 deletions