server/msplanner.py
branchstable
changeset 4716 55b6a3262071
parent 4212 ab6573088b4a
child 4719 aaed3f813ef8
equal deleted inserted replaced
4715:d3f87ee74fe4 4716:55b6a3262071
  1189         elif len(steps) > 1:
  1189         elif len(steps) > 1:
  1190             if select.need_intersect or any(select.need_intersect
  1190             if select.need_intersect or any(select.need_intersect
  1191                                             for step in steps
  1191                                             for step in steps
  1192                                             for select in step.union.children):
  1192                                             for select in step.union.children):
  1193                 if temptable:
  1193                 if temptable:
  1194                     step = IntersectFetchStep(plan)
  1194                     step = IntersectFetchStep(plan) # XXX not implemented
  1195                 else:
  1195                 else:
  1196                     step = IntersectStep(plan)
  1196                     step = IntersectStep(plan)
  1197             else:
  1197             else:
  1198                 if temptable:
  1198                 if temptable:
  1199                     step = UnionFetchStep(plan)
  1199                     step = UnionFetchStep(plan)