--- 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))