~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/filesort.cc

  • Committer: Brian Aker
  • Date: 2008-08-10 17:18:41 UTC
  • mfrom: (287.3.13 codestyle)
  • Revision ID: brian@tangent.org-20080810171841-pkvi2ky94wbd0nt5
Merge from Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
203
203
    goto err;
204
204
 
205
205
  memavl= thd->variables.sortbuff_size;
206
 
  min_sort_memory= max(MIN_SORT_MEMORY, param.sort_length*MERGEBUFF2);
 
206
  min_sort_memory= max((uint)MIN_SORT_MEMORY, param.sort_length*MERGEBUFF2);
207
207
  while (memavl >= min_sort_memory)
208
208
  {
209
209
    ulong old_memavl;