~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-08-05 10:29:23 UTC
  • mto: This revision was merged to the branch mainline in revision 2395.
  • Revision ID: olafvdspek@gmail.com-20110805102923-l7tjgd09c8g5epoq
Refactor getTableName

Show diffs side-by-side

added added

removed removed

Lines of Context:
295
295
  }
296
296
 
297
297
public:
 
298
  str_ref getTableNameRef() const
 
299
  {
 
300
    return table_name;
 
301
  }
298
302
 
299
303
  const char *getTableName() const
300
304
  {
301
305
    return table_name.str;
302
306
  }
303
307
 
304
 
  uint32_t getTableNameSize() const
305
 
  {
306
 
    return table_name.length;
307
 
  }
308
 
 
309
308
  const std::string &getTableName(std::string &name_arg) const
310
309
  {
311
310
    name_arg.assign(table_name.str, table_name.length);