~stewart/drizzle/embedded-innodb-autoincrement

« back to all changes in this revision

Viewing changes to drizzled/optimizer/quick_ror_intersect_select.cc

  • Committer: Stewart Smith
  • Date: 2010-05-12 12:04:58 UTC
  • mfrom: (1283.120.50 staging)
  • mto: This revision was merged to the branch mainline in revision 1430.
  • Revision ID: stewart@flamingspork.com-20100512120458-grl8fnvsw00z2l1o
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
  alloc.free_root(MYF(0));
77
77
  if (need_to_fetch_row && head->cursor->inited != Cursor::NONE)
78
78
  {
79
 
    head->cursor->ha_rnd_end();
 
79
    head->cursor->endTableScan();
80
80
  }
81
81
  return;
82
82
}
119
119
    ++it;
120
120
  }
121
121
 
122
 
  if (need_to_fetch_row && head->cursor->ha_rnd_init(1))
 
122
  if (need_to_fetch_row && head->cursor->startTableScan(1))
123
123
  {
124
124
    return 0;
125
125
  }