~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Mark Atwood
  • Date: 2011-08-04 16:21:21 UTC
  • mfrom: (2318.9.14 refactor3)
  • Revision ID: me@mark.atwood.name-20110804162121-6b9ay1b1de3yfgvl
mergeĀ lp:~olafvdspek/drizzle/refactor3

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
 
61
61
  TableShare(const identifier::Table::Type type_arg,
62
62
             const identifier::Table &identifier,
63
 
             char *path_arg= NULL, uint32_t path_length_arg= 0); // Shares for cache
 
63
             const char *path_arg= NULL, uint32_t path_length_arg= 0); // Shares for cache
64
64
 
65
65
  virtual ~TableShare();
66
66
 
175
175
    return mem_root.alloc(arg);
176
176
  }
177
177
 
178
 
  char *strmake(const char *str_arg, size_t len_arg)
 
178
  char *strdup(const char *str_arg, size_t len_arg)
179
179
  {
180
 
    return mem_root.strmake(str_arg, len_arg);
 
180
    return mem_root.strdup(str_arg, len_arg);
181
181
  }
182
182
 
183
183
  memory::Root& mem()