~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/uniques.cc

  • Committer: ysano
  • Date: 2008-11-08 07:03:47 UTC
  • mto: This revision was merged to the branch mainline in revision 584.
  • Revision ID: ysano@vm-20081108070347-cvsvini2pqe8g7eb
Rename mysql to drizzle.

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
  */
76
76
  max_elements= (ulong) (max_in_memory_size /
77
77
                         ALIGN_SIZE(sizeof(TREE_ELEMENT)+size));
78
 
  open_cached_file(&file, mysql_tmpdir,TEMP_PREFIX, DISK_BUFFER_SIZE,
 
78
  open_cached_file(&file, drizzle_tmpdir,TEMP_PREFIX, DISK_BUFFER_SIZE,
79
79
                   MYF(MY_WME));
80
80
}
81
81
 
615
615
  outfile=table->sort.io_cache=(IO_CACHE*) my_malloc(sizeof(IO_CACHE),
616
616
                                MYF(MY_ZEROFILL));
617
617
 
618
 
  if (!outfile || (! my_b_inited(outfile) && open_cached_file(outfile,mysql_tmpdir,TEMP_PREFIX,READ_RECORD_BUFFER, MYF(MY_WME))))
 
618
  if (!outfile || (! my_b_inited(outfile) && open_cached_file(outfile,drizzle_tmpdir,TEMP_PREFIX,READ_RECORD_BUFFER, MYF(MY_WME))))
619
619
    return 1;
620
620
  reinit_io_cache(outfile,WRITE_CACHE,0L,0,0);
621
621