~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table.cc

  • Committer: Lee Bieber
  • Date: 2011-04-17 02:05:51 UTC
  • mfrom: (2279.1.3 build)
  • Revision ID: kalebral@gmail.com-20110417020551-59m0hx1p10b0up1x
Merge Joe - 760367: DATA_DICTIONARY.CUMULATIVE_USER_STATS.CONNECTED_TIME_SEC reports bogus results
Merge Olaf - Refactor Catalog Cache
Merge Olaf - Delete unused functions

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