~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table_list.h

  • Committer: Brian Aker
  • Date: 2009-05-06 07:14:56 UTC
  • mfrom: (1005.1.4 mordred)
  • Revision ID: brian@gaz-20090506071456-8whd3jjb4i1c1yd4
Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
public:
74
74
  TableList() {}                          /* Remove gcc warning */
75
75
 
76
 
  /**
77
 
    Prepare TableList that consists of one table instance to use in
78
 
    simple_open_and_lock_tables
79
 
  */
80
 
  inline void init_one_table(const char *db_name_arg,
81
 
                             const char *table_name_arg,
82
 
                             enum thr_lock_type lock_type_arg)
83
 
  {
84
 
    memset(this, 0, sizeof(*this));
85
 
    db= (char*) db_name_arg;
86
 
    table_name= alias= (char*) table_name_arg;
87
 
    lock_type= lock_type_arg;
88
 
  }
89
 
 
90
76
  /*
91
77
    List of tables local to a subquery (used by SQL_LIST). Considers
92
78
    views as leaves (unlike 'next_leaf' below). Created at parse time