~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_parse.cc

  • Committer: Brian Aker
  • Date: 2009-02-07 22:33:25 UTC
  • Revision ID: brian@tangent.org-20090207223325-5ipgldvw1pkghboq
typdef class removal (just... use the name of the class).

Show diffs side-by-side

added added

removed removed

Lines of Context:
970
970
  TableList *first_table= (TableList*) select_lex->table_list.first;
971
971
  /* list of all tables in query */
972
972
  TableList *all_tables;
973
 
  /* most outer Select_Lex_UNIT of query */
974
 
  Select_Lex_UNIT *unit= &lex->unit;
 
973
  /* most outer Select_Lex_Unit of query */
 
974
  Select_Lex_Unit *unit= &lex->unit;
975
975
  /* Saved variable value */
976
976
 
977
977
  /*
2154
2154
  select_lex->nest_level= lex->nest_level;
2155
2155
  if (move_down)
2156
2156
  {
2157
 
    Select_Lex_UNIT *unit;
 
2157
    Select_Lex_Unit *unit;
2158
2158
    lex->subqueries= true;
2159
2159
    /* first select_lex of subselect or derived table */
2160
 
    if (!(unit= new (session->mem_root) Select_Lex_UNIT()))
 
2160
    if (!(unit= new (session->mem_root) Select_Lex_Unit()))
2161
2161
      return(1);
2162
2162
 
2163
2163
    unit->init_query();
2182
2182
      return(1);
2183
2183
    }
2184
2184
    select_lex->include_neighbour(lex->current_select);
2185
 
    Select_Lex_UNIT *unit= select_lex->master_unit();
 
2185
    Select_Lex_Unit *unit= select_lex->master_unit();
2186
2186
    if (!unit->fake_select_lex && unit->add_fake_select_lex(lex->session))
2187
2187
      return(1);
2188
2188
    select_lex->context.outer_context=
2921
2921
    0     on success
2922
2922
*/
2923
2923
 
2924
 
bool Select_Lex_unit::add_fake_select_lex(Session *session_arg)
 
2924
bool Select_Lex_Unit::add_fake_select_lex(Session *session_arg)
2925
2925
{
2926
2926
  Select_Lex *first_sl= first_select();
2927
2927
  assert(!fake_select_lex);