~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/check.cc

  • Committer: Mark Atwood
  • Date: 2011-08-12 04:08:33 UTC
  • mfrom: (2385.2.17 refactor5)
  • Revision ID: me@mark.atwood.name-20110812040833-u6j85nc6ahuc0dtz
mergeĀ lp:~olafvdspek/drizzle/refactor5

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
  TableList *first_table= (TableList *) lex().select_lex.table_list.first;
33
33
  TableList *all_tables= lex().query_tables;
34
34
  assert(first_table == all_tables && first_table != 0);
35
 
  Select_Lex *select_lex= &lex().select_lex;
36
35
  bool res= check_table(&session(), first_table);
37
 
  select_lex->table_list.first= (unsigned char*) first_table;
 
36
  lex().select_lex.table_list.first= (unsigned char*) first_table;
38
37
  lex().query_tables=all_tables;
39
38
  return res;
40
39
}
41
40
 
42
41
} /* namespace drizzled */
43