changeset 8087 | dc788369d35f |
parent 8049 | a48301a44b50 |
parent 8085 | 51929d531aff |
child 8695 | 358d8bed9626 |
--- a/rset.py Tue Nov 15 22:23:14 2011 +0100 +++ b/rset.py Wed Nov 16 22:07:51 2011 +0100 @@ -695,7 +695,7 @@ continue if rootvar.name == rootmainvar.name: continue - if select is not rootselect: + if select is not rootselect and isinstance(rootvar, nodes.ColumnAlias): term = select.selection[root.subquery_selection_index(select, i)] var = _get_variable(term) if var is None: