~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/optimizer/key_field.h

  • Committer: Olaf van der Spek
  • Date: 2011-08-12 16:41:20 UTC
  • mto: This revision was merged to the branch mainline in revision 2398.
  • Revision ID: olafvdspek@gmail.com-20110812164120-uu21idtt9a9sa92e
cppcheck

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#pragma once
21
21
 
22
22
#include <drizzled/sql_select.h>
23
 
 
24
23
#include <vector>
25
24
 
26
 
namespace drizzled
27
 
{
28
 
namespace optimizer
29
 
{
 
25
namespace drizzled {
 
26
namespace optimizer {
30
27
 
31
28
/**
32
29
 * Class used when finding key fields
83
80
    val= in_val;
84
81
  }
85
82
 
86
 
  uint32_t getLevel()
 
83
  uint32_t getLevel() const
87
84
  {
88
85
    return level;
89
86
  }
93
90
    level= in_level;
94
91
  }
95
92
 
96
 
  uint32_t getOptimizeFlags()
 
93
  uint32_t getOptimizeFlags() const
97
94
  {
98
95
    return optimize;
99
96
  }