~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/optimizer/access_method/scan.cc

  • Committer: Brian Aker
  • Date: 2010-05-19 00:35:41 UTC
  • mto: This revision was merged to the branch mainline in revision 1542.
  • Revision ID: brian@gaz-20100519003541-7ecxcuwv9klvzi8l
JOIN -> Join rename

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
 
29
29
using namespace drizzled;
30
30
 
31
 
static uint32_t make_join_orderinfo(JOIN *join);
 
31
static uint32_t make_join_orderinfo(Join *join);
32
32
 
33
33
bool optimizer::Scan::getStats(Table *table,
34
34
                               JoinTable *join_tab)
35
35
{
36
 
  JOIN *join= join_tab->join;
 
36
  Join *join= join_tab->join;
37
37
  bool statistics= test(! (join->select_options & SELECT_DESCRIBE));
38
38
  uint64_t options= (join->select_options &
39
39
                     (SELECT_DESCRIBE | SELECT_NO_JOIN_CACHE)) |
158
158
  ordered. If there is a temp table the ordering is done as a last
159
159
  operation and doesn't prevent join cache usage.
160
160
*/
161
 
static uint32_t make_join_orderinfo(JOIN *join)
 
161
static uint32_t make_join_orderinfo(Join *join)
162
162
{
163
163
  uint32_t i= 0;
164
164
  if (join->need_tmp)