diff -r 7547fe738e54 -r 07196bda2456 server/sources/rql2sql.py --- a/server/sources/rql2sql.py Mon Oct 19 14:43:27 2009 +0200 +++ b/server/sources/rql2sql.py Mon Oct 19 18:36:20 2009 +0200 @@ -107,8 +107,8 @@ if rel.optional in ('right', 'both'): var.stinfo['optrelations'].add(newrel) # extract subquery solutions - solutions = [sol.copy() for sol in solutions] - cleanup_solutions(newselect, solutions) + mysolutions = [sol.copy() for sol in solutions] + cleanup_solutions(newselect, mysolutions) newselect.set_possible_types(solutions) # full sub-query aliases = [VariableRef(select.get_variable(avar.name, i))