~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Olaf van der Spek
  • Date: 2011-07-07 13:28:01 UTC
  • mto: This revision was merged to the branch mainline in revision 2385.
  • Revision ID: olafvdspek@gmail.com-20110707132801-dki21sirljv1x4ny
Refactor build_table_filename

Show diffs side-by-side

added added

removed removed

Lines of Context:
526
526
  }
527
527
  else
528
528
  {
529
 
    identifier::Table::build_table_filename(_path, db.str, table_name.str, false);
 
529
    _path= identifier::Table::build_table_filename(db.str, table_name.str, false);
530
530
  }
531
531
 
532
 
  char* path_buff= (char *)mem_root.alloc(_path.length() + 1);
 
532
  char* path_buff= mem_root.strmake(_path);
533
533
  setPath(path_buff, _path.length());
534
 
  strcpy(path_buff, _path.c_str());
535
534
  setNormalizedPath(path_buff, _path.length());
536
535
 
537
536
  version= g_refresh_version;