~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to drizzled/optimizer/key_field.h

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-06-19 10:46:49 UTC
  • mfrom: (1.1.6)
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20120619104649-e2l0ggd4oz3um0f4
Tags: upstream-7.1.36-stable
ImportĀ upstreamĀ versionĀ 7.1.36-stable

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
  }