~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table_list.h

  • Committer: Brian Aker
  • Date: 2010-10-23 22:28:30 UTC
  • mto: This revision was merged to the branch mainline in revision 1875.
  • Revision ID: brian@tangent.org-20101023222830-em4idhbau96l37zt
Encapsulate schema_name it table_list.

Show diffs side-by-side

added added

removed removed

Lines of Context:
128
128
  /** link in a global list of all queries tables */
129
129
  TableList *next_global; 
130
130
  TableList **prev_global;
 
131
 
 
132
private:
131
133
  char *db;
 
134
 
 
135
public:
 
136
  const char *getSchemaName()
 
137
  {
 
138
    return db;
 
139
  }
 
140
 
 
141
  char **getSchemaNamePtr()
 
142
  {
 
143
    return &db;
 
144
  }
 
145
 
 
146
  void setSchemaName(char *arg)
 
147
  {
 
148
    db= arg;
 
149
  }
 
150
 
132
151
  const char *alias;
133
152
  char *table_name;
134
153
  char *option; ///< Used by cache index