]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- rework ColumnCollection to no longer persist "all_col_set"; we don't
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 26 Jan 2016 21:41:26 +0000 (16:41 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 26 Jan 2016 21:41:26 +0000 (16:41 -0500)
commit8163de4cc9e01460d3476b9fb3ed14a5b3e70bae
treefad1174f23337dabe614ea54255558a61ae2a8bf
parent9d9fc93b7065d25a088e244961cf54606ad80b31
- rework ColumnCollection to no longer persist "all_col_set"; we don't
need this collection except in the extend/update uses where we
create it ad-hoc.  simplifies pickling.  Compatibility with 1.0
should be OK as ColumnColleciton uses __getstate__ in any case
and the __setstate__ contract hasn't changed.
- Fixed bug in :class:`.Table` metadata construct which appeared
around the 0.9 series where adding columns to a :class:`.Table`
that was unpickled would fail to correctly establish the
:class:`.Column` within the 'c' collection, leading to issues in
areas such as ORM configuration.   This could impact use cases such
as ``extend_existing`` and others.  fixes #3632
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/sql/base.py
test/sql/test_metadata.py