]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed an 0.9 regression where the automatic aliasing applied by
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 23 Jan 2014 19:49:04 +0000 (14:49 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 23 Jan 2014 19:49:04 +0000 (14:49 -0500)
commit15b23c7f71c0ca8c526db2794b2c459c84875ab3
tree7f793ff00fdbd81ca0b6acaf4437e7e09ee9f087
parent9fef2c314bef31758e878d03d7793e744f2562c6
- Fixed an 0.9 regression where the automatic aliasing applied by
:class:`.Query` and in other situations where selects or joins
were aliased (such as joined table inheritance) could fail if a
user-defined :class:`.Column` subclass were used in the expression.
In this case, the subclass would fail to propagate ORM-specific
"annotations" along needed by the adaptation.  The "expression
annotations" system has been corrected to account for this case.
[ticket:2918]
doc/build/changelog/changelog_09.rst
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/sql/annotation.py
test/orm/inheritance/test_assorted_poly.py
test/sql/test_selectable.py