~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/command/default_select.h

Removed the need for the all_tables member of command classes. It can be
retrieved from the LEX class directly and it is in fact better to do that in
this case. Strange things happen in there...

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
{
35
35
public:
36
36
  DefaultSelect(enum enum_sql_command in_comm_type,
37
 
                Session *in_session,
38
 
                TableList *in_all_tables)
 
37
                Session *in_session)
39
38
    :
40
 
      SqlCommand(in_comm_type, in_session),
41
 
      all_tables(in_all_tables)
 
39
      SqlCommand(in_comm_type, in_session)
42
40
  {}
43
41
 
44
42
  int execute();
45
 
 
46
 
private:
47
 
 
48
 
  /**
49
 
   * List of all the tables for this command.
50
 
   */
51
 
  TableList *all_tables;
52
43
};
53
44
 
54
45
} /* end namespace command */