]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- use ForeignKey.column as _colspec source in Column._make_proxy(), preventing needless
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 14 Jan 2009 20:48:01 +0000 (20:48 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 14 Jan 2009 20:48:01 +0000 (20:48 +0000)
commit37b7e458c201a2f7788f3db8d85bed2ab2f8e190
tree369643daf70a7191bfab2f849386d3ecb90f92cb
parent76a7818013b1803876da7f51ec1601a25cb1e78b
- use ForeignKey.column as _colspec source in Column._make_proxy(), preventing needless
redundant string arithmetic in memoized ForeignKey.column method
- _pre_existing_column attribute becomes optional, only needed for original Table-bound column, not proxies
- compare two ForeignKeys based on target_fullname, don't assume self._colspec is a string
- Fixed bug when overriding a Column with a ForeignKey
on a reflected table, where derived columns (i.e. the
"virtual" columns of a select, etc.) would inadvertently
call upon schema-level cleanup logic intended only
for the original column. [ticket:1278]
CHANGES
lib/sqlalchemy/schema.py
test/engine/reflection.py