diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-10-26 12:41:18 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-10-26 12:41:18 -0400 |
commit | d9adb2a4fd3e865d3c8d4f6f2e0a12d5c4036c97 (patch) | |
tree | c00b308c373d2dae57c09e65d206e4be619b1ab6 /lib/sqlalchemy/engine/ddl.py | |
parent | 8301651428be5396b76f7d20c8f61b5558d5a971 (diff) | |
download | sqlalchemy-d9adb2a4fd3e865d3c8d4f6f2e0a12d5c4036c97.tar.gz |
- [bug] the value of a composite attribute is now
expired after an insert or update operation, instead
of regenerated in place. This ensures that a
column value which is expired within a flush
will be loaded first, before the composite
is regenerated using that value. [ticket:2309]
- [bug] The fix in [ticket:2309] also emits the
"refresh" event when the composite value is
loaded on access, even if all column
values were already present, as is appropriate.
This fixes the "mutable" extension which relies
upon the "load" event to ensure the _parents
dictionary is up to date, fixes [ticket:2308].
Thanks to Scott Torborg for the test case here.
Diffstat (limited to 'lib/sqlalchemy/engine/ddl.py')
0 files changed, 0 insertions, 0 deletions