~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table_list.h

  • Committer: Olaf van der Spek
  • Date: 2011-02-09 21:31:01 UTC
  • mto: (2167.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 2168.
  • Revision ID: olaf@testing-20110209213101-17fg3hzm5so7zk6h
Const fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
150
150
  const char *alias;
151
151
 
152
152
private:
153
 
  char *table_name;
 
153
  const char *table_name;
154
154
 
155
155
public:
156
156
  const char *getTableName()
158
158
    return table_name;
159
159
  }
160
160
 
161
 
  char **getTableNamePtr()
162
 
  {
163
 
    return &table_name;
164
 
  }
165
 
 
166
 
  void setTableName(char *arg)
 
161
  void setTableName(const char *arg)
167
162
  {
168
163
    table_name= arg;
169
164
  }