rset.py
changeset 3589 a5432f99f2d9
parent 3405 9d31c9cb8103
parent 3551 5a73db781dac
child 3629 559cad62c786
equal deleted inserted replaced
3536:f6c9a5df80fb 3589:a5432f99f2d9
   113         # at least rql could be fixed now that we have union and sub-queries
   113         # at least rql could be fixed now that we have union and sub-queries
   114         # but I tend to think that since we have that, we should not need this
   114         # but I tend to think that since we have that, we should not need this
   115         # method anymore (syt)
   115         # method anymore (syt)
   116         rset = ResultSet(self.rows+rset.rows, self.rql, self.args,
   116         rset = ResultSet(self.rows+rset.rows, self.rql, self.args,
   117                          self.description +rset.description)
   117                          self.description +rset.description)
       
   118         return self.req.decorate_rset(rset)
       
   119 
       
   120     def copy(self):
       
   121         rset = ResultSet(self.rows[:], self.rql, self.args, self.description[:])
   118         return self.req.decorate_rset(rset)
   122         return self.req.decorate_rset(rset)
   119 
   123 
   120     def _prepare_copy(self, rows, descr):
   124     def _prepare_copy(self, rows, descr):
   121         rset = ResultSet(rows, self.rql, self.args, descr)
   125         rset = ResultSet(rows, self.rql, self.args, descr)
   122         return self.req.decorate_rset(rset)
   126         return self.req.decorate_rset(rset)