~posulliv/drizzle/memcached_applier

« back to all changes in this revision

Viewing changes to drizzled/plugin/storage_engine.cc

  • Committer: Jay Pipes
  • Date: 2009-08-07 16:17:41 UTC
  • mfrom: (1039.2.73 staging)
  • mto: This revision was merged to the branch mainline in revision 1081.
  • Revision ID: jpipes@serialcoder-20090807161741-4qw4vic606bh52f7
Merge with trunk

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
}