~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/optimizer/quick_range_select.h

Merge Padraig

Show diffs side-by-side

added added

removed removed

Lines of Context:
163
163
                      key_part_map keypart_map,
164
164
                      unsigned char *cur_prefix);
165
165
 
166
 
  bool reverse_sorted()
 
166
  bool reverse_sorted() const
167
167
  {
168
168
    return false;
169
169
  }
171
171
  /**
172
172
   * @return true if there is only one range and this uses the whole primary key
173
173
   */
174
 
  bool unique_key_range();
 
174
  bool unique_key_range() const;
175
175
 
176
176
  /**
177
177
   * Initialize this quick select to be a ROR-merged scan.
197
197
 
198
198
  void save_last_pos();
199
199
 
200
 
  int get_type()
 
200
  int get_type() const
201
201
  {
202
202
    return QS_TYPE_RANGE;
203
203
  }
252
252
 
253
253
  friend class QuickIndexMergeSelect;
254
254
 
255
 
  friend class QUICK_ROR_INTERSECT_SELECT;
 
255
  friend class QuickRorIntersectSelect;
256
256
 
257
 
  friend class QUICK_GROUP_MIN_MAX_SELECT;
 
257
  friend class QuickGroupMinMaxSelect;
258
258
 
259
259
  friend uint32_t quick_range_seq_next(range_seq_t rseq, KEY_MULTI_RANGE *range);
260
260
 
279
279
 
280
280
  int get_next();
281
281
 
282
 
  bool reverse_sorted() 
 
282
  bool reverse_sorted() const
283
283
  { 
284
284
    return true; 
285
285
  }
286
286
 
287
 
  int get_type() 
 
287
  int get_type() const
288
288
  { 
289
289
    return QS_TYPE_RANGE_DESC;
290
290
  }