~eday/drizzle/eday-dev

« back to all changes in this revision

Viewing changes to drizzled/join.h

  • Committer: Eric Day
  • Date: 2010-01-07 20:02:38 UTC
  • mfrom: (971.3.291 staging)
  • Revision ID: eday@oddments.org-20100107200238-uqw8v6kv9pl7nny5
Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
#include <drizzled/optimizer/position.h>
31
31
#include <bitset>
32
32
 
33
 
class JOIN :public Sql_alloc
 
33
class JOIN :public drizzled::memory::SqlAlloc
34
34
{
35
35
  JOIN(const JOIN &rhs);                        /**< not implemented */
36
36
  JOIN& operator=(const JOIN &rhs);             /**< not implemented */
143
143
  Select_Lex_Unit *unit;
144
144
  /** select that processed */
145
145
  Select_Lex *select_lex;
146
 
  drizzled::optimizer::SQL_SELECT *select; /**< created in optimisation phase */
147
 
  Array<Item_in_subselect> sj_subselects;
 
146
  drizzled::optimizer::SqlSelect *select; /**< created in optimization phase */
148
147
 
149
148
  /**
150
149
    Bitmap of nested joins embedding the position at the end of the current
271
270
      unit(NULL),
272
271
      select_lex(NULL),
273
272
      select(NULL),
274
 
      sj_subselects(session_arg->mem_root, 4),
275
273
      exec_tmp_table1(NULL),
276
274
      exec_tmp_table2(NULL),
277
275
      sum_funcs(NULL),
472
470
           sizeof(drizzled::optimizer::Position) * size);
473
471
  }
474
472
 
 
473
  void cache_const_exprs();
 
474
 
475
475
  /**
476
476
   * @param[in] index the index of the position to retrieve
477
477
   * @return a reference to the specified position in the optimal