~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table/instance/base.h

  • Committer: Olaf van der Spek
  • Date: 2011-06-24 15:08:05 UTC
  • mto: This revision was merged to the branch mainline in revision 2349.
  • Revision ID: olafvdspek@gmail.com-20110624150805-x1d6zfc2b17afbx0
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
170
170
private:
171
171
  memory::Root mem_root;
172
172
 
173
 
  void *alloc_root(size_t arg)
174
 
  {
175
 
    return mem_root.alloc_root(arg);
176
 
  }
177
 
 
178
 
  char *strmake_root(const char *str_arg, size_t len_arg)
179
 
  {
180
 
    return mem_root.strmake_root(str_arg, len_arg);
181
 
  }
182
 
 
183
 
  memory::Root *getMemRoot()
184
 
  {
185
 
    return &mem_root;
 
173
  unsigned char* alloc(size_t arg)
 
174
  {
 
175
    return mem_root.alloc(arg);
 
176
  }
 
177
 
 
178
  char *strmake(const char *str_arg, size_t len_arg)
 
179
  {
 
180
    return mem_root.strmake(str_arg, len_arg);
 
181
  }
 
182
 
 
183
  memory::Root& mem()
 
184
  {
 
185
    return mem_root;
186
186
  }
187
187
 
188
188
  std::vector<std::string> _keynames;