~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/filesort.cc

  • Committer: Brian Aker
  • Date: 2011-01-06 05:17:09 UTC
  • Revision ID: brian@tangent.org-20110106051709-oa0se8ur02uc6i9o
Added native functions into the function table.

Show diffs side-by-side

added added

removed removed

Lines of Context:
564
564
  if (! indexfile && ! quick_select)
565
565
  {
566
566
    next_pos=(unsigned char*) 0;                        /* Find records in sequence */
567
 
    if (file->startTableScan(1))
568
 
      return(HA_POS_ERROR);
 
567
    file->startTableScan(1);
569
568
    file->extra_opt(HA_EXTRA_CACHE, getSession().variables.read_buff_size);
570
569
  }
571
570
 
575
574
    if (select->quick->reset())
576
575
      return(HA_POS_ERROR);
577
576
 
578
 
    if (read_record_info.init_read_record(&getSession(), select->quick->head, select, 1, 1))
579
 
      return(HA_POS_ERROR);
 
577
    read_record_info.init_read_record(&getSession(), select->quick->head, select, 1, 1);
580
578
  }
581
579
 
582
580
  /* Remember original bitmaps */