~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-02-11 22:56:25 UTC
  • Revision ID: brian@gaz-20100211225625-63v3e79p78blva2u
Remove WEIGHT_STRING() from parser (where it does not belong). If someone
wants to they can reimplement this as a straight function.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#ifndef DRIZZLED_OPTIMIZER_TABLE_READ_PLAN_H
21
21
#define DRIZZLED_OPTIMIZER_TABLE_READ_PLAN_H
22
22
 
23
 
#include "drizzled/util/functors.h"
24
 
#include <algorithm>
25
 
 
26
23
namespace drizzled
27
24
{
28
25
 
 
26
class SEL_TREE;
29
27
struct st_ror_scan_info;
30
28
 
31
29
namespace optimizer
33
31
 
34
32
class Parameter;
35
33
class SEL_ARG;
36
 
class SEL_TREE;
37
34
 
38
35
/*
39
36
  Table rows retrieval plan. Range optimizer creates QuickSelectInterface-derived
155
152
      index_scan_costs(0.0)
156
153
  {}
157
154
 
158
 
  virtual ~RorIntersectReadPlan() 
159
 
  {
160
 
    std::for_each(ror_range_scans.begin(),
161
 
                  ror_range_scans.end(),
162
 
                  DeletePtr());
163
 
    ror_range_scans.clear();
164
 
  }
 
155
  virtual ~RorIntersectReadPlan() {}             /* Remove gcc warning */
165
156
 
166
157
  QuickSelectInterface *make_quick(Parameter *param,
167
158
                                   bool retrieve_full_rows,