~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/storage_engine.cc

  • Committer: Brian Aker
  • Date: 2009-08-06 15:04:21 UTC
  • mfrom: (1093.1.52 captain)
  • Revision ID: brian@gaz-20090806150421-w8yrasl1m8exorxs
Merge Jay

Show diffs side-by-side

added added

removed removed

Lines of Context:
784
784
    we only should turn into lowercase database/table part
785
785
    so start the process after homedirectory
786
786
  */
787
 
  my_casedn_str(files_charset_info, tmp_path + drizzle_data_home_len);
 
787
  if (strstr(tmp_path, drizzle_tmpdir) == tmp_path)
 
788
    my_casedn_str(files_charset_info, tmp_path + strlen(drizzle_tmpdir));
 
789
  else
 
790
    my_casedn_str(files_charset_info, tmp_path + drizzle_data_home_len);
788
791
 
789
792
  return tmp_path;
790
793
}