~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/optimizer/table_read_plan.h

  • Committer: Brian Aker
  • Date: 2010-05-07 06:18:08 UTC
  • mto: (1527.1.1 staging)
  • mto: This revision was merged to the branch mainline in revision 1526.
  • Revision ID: brian@gaz-20100507061808-xtbz9dgb32o783yg
Remove members to functions that are no longer used.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
namespace drizzled
27
27
{
28
28
 
 
29
struct st_ror_scan_info;
 
30
 
29
31
namespace optimizer
30
32
{
31
33
 
32
34
class Parameter;
33
35
class SEL_ARG;
34
36
class SEL_TREE;
35
 
class RorScanInfo;
36
37
 
37
38
/*
38
39
  Table rows retrieval plan. Range optimizer creates QuickSelectInterface-derived
133
134
                                   memory::Root *parent_alloc);
134
135
 
135
136
  /* Array of pointers to ROR range scans used in this intersection */
136
 
  RorScanInfo **first_scan;
137
 
  RorScanInfo **last_scan; /* End of the above array */
138
 
  RorScanInfo *cpk_scan;  /* Clustered PK scan, if there is one */
 
137
  struct st_ror_scan_info **first_scan;
 
138
  struct st_ror_scan_info **last_scan; /* End of the above array */
 
139
  struct st_ror_scan_info *cpk_scan;  /* Clustered PK scan, if there is one */
139
140
 
140
141
  bool is_covering; /* true if no row retrieval phase is necessary */
141
142
  double index_scan_costs; /* SUM(cost(index_scan)) */
190
191
private:
191
192
  bool have_min;
192
193
  bool have_max;
193
 
  KeyPartInfo *min_max_arg_part;
 
194
  KEY_PART_INFO *min_max_arg_part;
194
195
  uint32_t group_prefix_len;
195
196
  uint32_t used_key_parts;
196
197
  uint32_t group_key_parts;
197
 
  KeyInfo *index_info;
 
198
  KEY *index_info;
198
199
  uint32_t index;
199
200
  uint32_t key_infix_len;
200
201
  unsigned char key_infix[MAX_KEY_LENGTH];
208
209
public:
209
210
  GroupMinMaxReadPlan(bool have_min_arg, 
210
211
                      bool have_max_arg,
211
 
                      KeyPartInfo *min_max_arg_part_arg,
 
212
                      KEY_PART_INFO *min_max_arg_part_arg,
212
213
                      uint32_t group_prefix_len_arg, 
213
214
                      uint32_t used_key_parts_arg,
214
215
                      uint32_t group_key_parts_arg, 
215
 
                      KeyInfo *index_info_arg,
 
216
                      KEY *index_info_arg,
216
217
                      uint32_t index_arg, 
217
218
                      uint32_t key_infix_len_arg,
218
219
                      unsigned char *key_infix_arg,