~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-10-08 20:13:50 UTC
  • mfrom: (1823.1.3 trunk-drizzle)
  • Revision ID: brian@tangent.org-20101008201350-bmjpgakk12zmyw10
Overall merge of Padraig

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
 
 
31
29
namespace optimizer
32
30
{
33
31
 
34
32
class Parameter;
35
33
class SEL_ARG;
36
34
class SEL_TREE;
 
35
class RorScanInfo;
37
36
 
38
37
/*
39
38
  Table rows retrieval plan. Range optimizer creates QuickSelectInterface-derived
134
133
                                   memory::Root *parent_alloc);
135
134
 
136
135
  /* Array of pointers to ROR range scans used in this intersection */
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 */
 
136
  RorScanInfo **first_scan;
 
137
  RorScanInfo **last_scan; /* End of the above array */
 
138
  RorScanInfo *cpk_scan;  /* Clustered PK scan, if there is one */
140
139
 
141
140
  bool is_covering; /* true if no row retrieval phase is necessary */
142
141
  double index_scan_costs; /* SUM(cost(index_scan)) */