~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/join_table.h

  • Committer: Brian Aker
  • Date: 2009-07-11 19:23:04 UTC
  • mfrom: (1089.1.14 merge)
  • Revision ID: brian@gaz-20090711192304-ootijyl5yf9jq9kd
Merge Brian

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
 
31
31
#include <drizzled/enum_nested_loop_state.h>
32
32
#include <drizzled/table_reference.h>
 
33
#include <drizzled/opt_range.h>
 
34
#include <drizzled/join_cache.h>
33
35
 
34
36
/* Values for JoinTable::packed_info */
35
37
#define TAB_INFO_HAVE_VALUE 1
39
41
 
40
42
class SemiJoinTable;
41
43
class KeyUse;
 
44
class Table;
 
45
class SQL_SELECT;
 
46
 
42
47
 
43
48
/** Description of a join type */
44
49
enum join_type 
143
148
    this number of rows for the table.
144
149
  */
145
150
  ha_rows limit;
146
 
  TABLE_REF     ref;
 
151
  table_reference_st    ref;
147
152
  JOIN_CACHE cache;
148
153
  JOIN *join;
149
154
 
189
194
  nested_join_map embedding_map;
190
195
 
191
196
  void cleanup();
 
197
 
192
198
  inline bool is_using_loose_index_scan()
193
199
  {
194
200
    return (select && select->quick &&
195
201
            (select->quick->get_type() ==
196
202
             QUICK_SELECT_I::QS_TYPE_GROUP_MIN_MAX));
197
203
  }
 
204
 
 
205
  void readCachedRecord();
198
206
};
199
207
 
200
208
#endif /* DRIZZLED_JOINTABLE_H */