fixed selection_and_product optimization. It modified the original relation

git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@178 014f5005-505e-4b48-8d0a-63407b615a7c
master
LtWorf 2009-05-25 13:54:35 +07:00
parent dac465779c
commit d51d4bada7
1 changed files with 2 additions and 2 deletions

@ -80,7 +80,7 @@ class node (object):
return
if self.kind==RELATION:
return rels[self.name].header.attributes
return list(rels[self.name].header.attributes)
elif self.kind==BINARY and self.name in ('-','',''):
return self.left.result_format(rels)
elif self.name=='π':
@ -94,7 +94,7 @@ class node (object):
return self.child.result_format(rels)
elif self.name=='ρ':
_vars={}
for i in n.prop.split(','):
for i in self.prop.split(','):
q=i.split('')
_vars[q[0].strip()]=q[1].strip()