~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-03-28 14:32:36 UTC
  • mto: (2257.1.1 build) (2276.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2258.
  • Revision ID: olafvdspek@gmail.com-20110328143236-4ge1d793iqaktfq0
Common fwd

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
  {
188
180
 
189
181
} /* end namespace drizzled */
190
182
 
191
 
#endif /* DRIZZLED_OPTIMIZER_POSITION_H */