~jlukas79/+junk/mysql-server

« back to all changes in this revision

Viewing changes to sql/opt_range.h

manual merge 6.0-main --> 6.0-bka-review

Show diffs side-by-side

added added

removed removed

Lines of Context:
343
343
  void dbug_dump(int indent, bool verbose);
344
344
#endif
345
345
private:
346
 
  /* Used only by QUICK_SELECT_DESC */
347
 
  QUICK_RANGE_SELECT(const QUICK_RANGE_SELECT& org) : QUICK_SELECT_I()
348
 
  {
349
 
    bcopy(&org, this, sizeof(*this));
350
 
    /* 
351
 
      Use default MRR implementation for reverse scans. No table engine
352
 
      currently can do an MRR scan with output in reverse index order.
353
 
    */
354
 
    mrr_buf_desc= NULL;
355
 
    mrr_flags |= HA_MRR_USE_DEFAULT_IMPL;
356
 
    mrr_buf_size= 0;
357
 
  }
 
346
  /* Default copy ctor used by QUICK_SELECT_DESC */
358
347
  friend class TRP_ROR_INTERSECT;
359
348
  friend
360
349
  QUICK_RANGE_SELECT *get_quick_select_for_ref(THD *thd, TABLE *table,
757
746
public:
758
747
  FT_SELECT(THD *thd, TABLE *table, uint key, bool *create_err) :
759
748
      QUICK_RANGE_SELECT (thd, table, key, 1, NULL, create_err) 
760
 
  { VOID(init()); }
 
749
  { (void) init(); }
761
750
  ~FT_SELECT() { file->ft_end(); }
762
751
  int init() { return file->ft_init(); }
763
752
  int reset() { return 0; }