~stewart/drizzle/embedded-innodb-autoincrement

« back to all changes in this revision

Viewing changes to drizzled/optimizer/quick_range_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:
105
105
{
106
106
  if (cursor->inited != Cursor::NONE)
107
107
    cursor->ha_index_or_rnd_end();
108
 
  return (cursor->ha_index_init(index, 1));
 
108
  return (cursor->startIndexScan(index, 1));
109
109
}
110
110
 
111
111
 
258
258
  last_range= NULL;
259
259
  cur_range= (optimizer::QuickRange**) ranges.buffer;
260
260
 
261
 
  if (cursor->inited == Cursor::NONE && (error= cursor->ha_index_init(index, 1)))
 
261
  if (cursor->inited == Cursor::NONE && (error= cursor->startIndexScan(index, 1)))
262
262
  {
263
263
    return error;
264
264
  }