~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/handler.cc

  • Committer: Monty Taylor
  • Date: 2008-09-22 23:53:43 UTC
  • mto: This revision was merged to the branch mainline in revision 417.
  • Revision ID: monty@inaugust.com-20080922235343-ihqvp6g9k1mtzxmc
Renamed max/min.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4123
4123
  else
4124
4124
  {
4125
4125
    cost->zero();
4126
 
    *buffer_size= max((ulong)*buffer_size, 
 
4126
    *buffer_size= cmax((ulong)*buffer_size, 
4127
4127
                      (size_t)(1.2*rows_in_last_step) * elem_size + 
4128
4128
                      h->ref_length + table->key_info[keynr].key_length);
4129
4129
  }