~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/optimizer/position.h

  • Committer: Olaf van der Spek
  • Date: 2011-10-24 21:23:54 UTC
  • mto: This revision was merged to the branch mainline in revision 2449.
  • Revision ID: olafvdspek@gmail.com-20111024212354-j32gbc2sbsw0985q
Use str_ref

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#ifndef DRIZZLED_OPTIMIZER_POSITION_H
21
 
#define DRIZZLED_OPTIMIZER_POSITION_H
 
20
#pragma once
22
21
 
23
22
#include <drizzled/join_table.h>
24
23
 
131
130
    return (cmp_table != table->table);
132
131
  }
133
132
 
134
 
  bool examinePosition(table_map found_ref)
135
 
  {
136
 
    if (table->table->map & found_ref)
137
 
    {
138
 
      return true;
139
 
    }
140
 
    return false;
141
 
  }
 
133
  bool examinePosition(table_map found_ref);
142
134
 
143
135
  KeyUse *getKeyUse()
144
136
  {
145
137
    return key;
146
138
  }
147
139
 
148
 
  table_map getRefDependMap()
 
140
  table_map getRefDependMap() const
149
141
  {
150
142
    return ref_depend_map;
151
143
  }
188
180
 
189
181
} /* end namespace drizzled */
190
182
 
191
 
#endif /* DRIZZLED_OPTIMIZER_POSITION_H */