]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- more fixes to the LIMIT/OFFSET aliasing applied with Query + eagerloads,
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 16 Dec 2007 18:32:25 +0000 (18:32 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 16 Dec 2007 18:32:25 +0000 (18:32 +0000)
commitabc33bd32d6fd11f46bdc3e65ce97b606ce1cb89
treefcd07dee8fe2a2dc4bf84dee1deed28cca6d9c8c
parent8ce3f5d6997be2d28e88f2ed982454e7b4d6e3fa
- more fixes to the LIMIT/OFFSET aliasing applied with Query + eagerloads,
in this case when mapped against a select statement [ticket:904]
- _hide_froms logic in expression totally localized to Join class, including search through previous clone sources
- removed "stop_on" from main visitors, not used
- "stop_on" in AbstractClauseProcessor part of constructor, ClauseAdapter sets it up based on given clause
- fixes to is_derived_from() to take previous clone sources into account, Alias takes self + cloned sources into account. this is ultimately what the #904 bug was.
CHANGES
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/sql/expression.py
lib/sqlalchemy/sql/util.py
lib/sqlalchemy/sql/visitors.py
test/orm/eager_relations.py
test/orm/query.py
test/sql/generative.py