]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Fixed a bug where clause adaption as applied to a :class:`.Label`
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 10 Jun 2015 03:39:14 +0000 (23:39 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 10 Jun 2015 03:39:14 +0000 (23:39 -0400)
commita9030d0241964c919b099e4bdb75d38fd420b546
tree36e714c1999c6e02e40f63e975c1d6fc241de52a
parent1cc50c81b9d3507e9bcefc625dd07b12a8178e9c
- Fixed a bug where clause adaption as applied to a :class:`.Label`
object would fail to accommodate the labeled SQL expression
in all cases, such that any SQL operation that made use of
:meth:`.Label.self_group` would use the original unadapted
expression.  One effect of this would be that an ORM :func:`.aliased`
construct would not fully accommodate attributes mapped by
:obj:`.column_property`, such that the un-aliased table could
leak out when the property were used in some kinds of SQL
comparisons.
fixes #3445
doc/build/changelog/changelog_10.rst
lib/sqlalchemy/sql/elements.py
test/sql/test_generative.py