fixed error in rename operator, it didn't a full copy of the relation so update on the original relation would modify results of renamed ones
git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@114 014f5005-505e-4b48-8d0a-63407b615a7c
This commit is contained in:
parent
0d191ab959
commit
720d888c22
@ -189,7 +189,9 @@ class relation (object):
|
||||
if (newt.header.rename(old,new)) == False:
|
||||
return None
|
||||
|
||||
newt.content=list(self.content)
|
||||
newt.content=[]
|
||||
for i in self.content:
|
||||
newt.content.append(list(i))
|
||||
return newt
|
||||
|
||||
def intersection(self,other):
|
||||
|
Loading…
Reference in New Issue
Block a user