~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table.cc

  • Committer: Olaf van der Spek
  • Date: 2011-04-15 13:22:35 UTC
  • mto: (2279.1.1 build) (2280.2.2 build)
  • mto: This revision was merged to the branch mainline in revision 2280.
  • Revision ID: olafvdspek@gmail.com-20110415132235-fuh4r2i8ogu1mb9z
Prune

Show diffs side-by-side

added added

removed removed

Lines of Context:
308
308
  res->append('\'');
309
309
}
310
310
 
311
 
 
312
 
int rename_file_ext(const char * from,const char * to,const char * ext)
313
 
{
314
 
  string from_s, to_s;
315
 
 
316
 
  from_s.append(from);
317
 
  from_s.append(ext);
318
 
  to_s.append(to);
319
 
  to_s.append(ext);
320
 
  return (internal::my_rename(from_s.c_str(),to_s.c_str(),MYF(MY_WME)));
321
 
}
322
 
 
323
311
/*
324
312
  Allow anything as a table name, as long as it doesn't contain an
325
313
  ' ' at the end