~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/optimizer/position.h

  • Committer: Stewart Smith
  • Date: 2011-02-10 00:46:02 UTC
  • mto: (2154.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2155.
  • Revision ID: stewart@flamingspork.com-20110210004602-9hev3ooklc9f2yti
switch get_sql_command to getSqlCommand

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#ifndef DRIZZLED_OPTIMIZER_POSITION_H
21
21
#define DRIZZLED_OPTIMIZER_POSITION_H
22
22
 
23
 
#include <drizzled/join_table.h>
 
23
#include "drizzled/join_table.h"
24
24
 
25
25
namespace drizzled
26
26
{
131
131
    return (cmp_table != table->table);
132
132
  }
133
133
 
134
 
  bool examinePosition(table_map found_ref);
 
134
  bool examinePosition(table_map found_ref)
 
135
  {
 
136
    if (table->table->map & found_ref)
 
137
    {
 
138
      return true;
 
139
    }
 
140
    return false;
 
141
  }
135
142
 
136
143
  KeyUse *getKeyUse()
137
144
  {