~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table_proto_write.cc

  • Committer: Brian Aker
  • Date: 2010-03-25 01:22:58 UTC
  • mfrom: (1395.1.4 build)
  • Revision ID: brian@gaz-20100325012258-cg51yq2yiuldvgxw
Merge of ALTER TABLE code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
443
443
  return 0;
444
444
}
445
445
 
446
 
int rename_table_proto_file(const char *from, const char* to)
447
 
{
448
 
  string from_path(from);
449
 
  string to_path(to);
450
 
  string file_ext = ".dfe";
451
 
 
452
 
  from_path.append(file_ext);
453
 
  to_path.append(file_ext);
454
 
 
455
 
  return internal::my_rename(from_path.c_str(),to_path.c_str(),MYF(MY_WME));
456
 
}
457
 
 
458
446
int delete_table_proto_file(const char *file_name)
459
447
{
460
448
  string new_path(file_name);