~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/optimizer/quick_index_merge_select.h

  • Committer: Brian Aker
  • Date: 2009-12-18 00:52:41 UTC
  • mfrom: (1241.2.6 build)
  • Revision ID: brian@gaz-20091218005241-z3w0etb2x3otmwks
Merge of Padraig/Monty/Trond

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
#include "drizzled/optimizer/range.h"
24
24
 
 
25
#include <vector>
 
26
 
25
27
namespace drizzled
26
28
{
27
29
 
107
109
   */
108
110
  int get_next();
109
111
 
110
 
  bool reverse_sorted()
111
 
  {
112
 
    return false;
113
 
  }
114
 
 
115
 
  bool unique_key_range()
116
 
  {
117
 
    return false;
118
 
  }
119
 
 
120
 
  int get_type()
 
112
  bool reverse_sorted() const
 
113
  {
 
114
    return false;
 
115
  }
 
116
 
 
117
  bool unique_key_range() const
 
118
  {
 
119
    return false;
 
120
  }
 
121
 
 
122
  int get_type() const
121
123
  {
122
124
    return QS_TYPE_INDEX_MERGE;
123
125
  }
129
131
  bool push_quick_back(QuickRangeSelect *quick_sel_range);
130
132
 
131
133
  /* range quick selects this index_merge read consists of */
132
 
  List<QuickRangeSelect> quick_selects;
 
134
  std::vector<QuickRangeSelect *> quick_selects;
133
135
 
134
136
  /* quick select that uses clustered primary key (NULL if none) */
135
 
  QuickRangeSelect* pk_quick_select;
 
137
  QuickRangeSelect *pk_quick_select;
136
138
 
137
139
  /* true if this select is currently doing a clustered PK scan */
138
140
  bool  doing_pk_scan;