diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-07-27 16:46:11 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-07-27 16:46:11 +0000 |
commit | 8db97dad9845b8d405412abbf713d2d22538b9cc (patch) | |
tree | d8531cb3644340707b4248e2721968359e232740 /lib/sqlalchemy/sql.py | |
parent | 7252e3d879483cc14be5d1b95004843e69e35aab (diff) | |
download | sqlalchemy-8db97dad9845b8d405412abbf713d2d22538b9cc.tar.gz |
fixed glitch in Select visit traversal, fixes #693
Diffstat (limited to 'lib/sqlalchemy/sql.py')
-rw-r--r-- | lib/sqlalchemy/sql.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/sql.py b/lib/sqlalchemy/sql.py index 01588e92d..ff92f0b43 100644 --- a/lib/sqlalchemy/sql.py +++ b/lib/sqlalchemy/sql.py @@ -3146,7 +3146,7 @@ class Select(_SelectBaseMixin, FromClause): def get_children(self, column_collections=True, **kwargs): return (column_collections and list(self.columns) or []) + \ - list(self._froms) + \ + list(self.locate_all_froms()) + \ [x for x in (self._whereclause, self._having, self._order_by_clause, self._group_by_clause) if x is not None] def _recorrelate_froms(self, froms): |