equal
deleted
inserted
replaced
322 self.repo.vreg.rqlhelper.annotate(rqlst) |
322 self.repo.vreg.rqlhelper.annotate(rqlst) |
323 for select in rqlst.children: |
323 for select in rqlst.children: |
324 select.solutions.sort() |
324 select.solutions.sort() |
325 else: |
325 else: |
326 rqlst.solutions.sort() |
326 rqlst.solutions.sort() |
327 return self.o.plan_factory(rqlst, kwargs, self.session) |
327 with self.session.ensure_cnx_set: |
|
328 return self.o.plan_factory(rqlst, kwargs, self.session) |
328 |
329 |
329 |
330 |
330 # monkey patch some methods to get predicatable results ####################### |
331 # monkey patch some methods to get predicatable results ####################### |
331 |
332 |
332 from cubicweb import rqlrewrite |
333 from cubicweb import rqlrewrite |