~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table_list.h

  • Committer: Brian Aker
  • Date: 2010-10-24 01:34:39 UTC
  • mto: This revision was merged to the branch mainline in revision 1875.
  • Revision ID: brian@tangent.org-20101024013439-w9r8qtmt5ihnqtkd
Encapsulate table_name from table_list.

Show diffs side-by-side

added added

removed removed

Lines of Context:
149
149
  }
150
150
 
151
151
  const char *alias;
 
152
 
 
153
private:
152
154
  char *table_name;
 
155
 
 
156
public:
 
157
  const char *getTableName()
 
158
  {
 
159
    return table_name;
 
160
  }
 
161
 
 
162
  char **getTableNamePtr()
 
163
  {
 
164
    return &table_name;
 
165
  }
 
166
 
 
167
  void setTableName(char *arg)
 
168
  {
 
169
    table_name= arg;
 
170
  }
 
171
 
153
172
  char *option; ///< Used by cache index
154
173
  Item *on_expr; ///< Used with outer join
155
174
  Table *table; ///< opened table