equal
deleted
inserted
replaced
693 rootvar = term.variable |
693 rootvar = term.variable |
694 except AttributeError: |
694 except AttributeError: |
695 continue |
695 continue |
696 if rootvar.name == rootmainvar.name: |
696 if rootvar.name == rootmainvar.name: |
697 continue |
697 continue |
698 if select is not rootselect: |
698 if select is not rootselect and isinstance(rootvar, nodes.ColumnAlias): |
699 term = select.selection[root.subquery_selection_index(select, i)] |
699 term = select.selection[root.subquery_selection_index(select, i)] |
700 var = _get_variable(term) |
700 var = _get_variable(term) |
701 if var is None: |
701 if var is None: |
702 continue |
702 continue |
703 for ref in var.references(): |
703 for ref in var.references(): |