~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sj_tmp_table.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:
247
247
    share->max_rows= ~(ha_rows) 0;
248
248
  else
249
249
    share->max_rows= (ha_rows) (((share->db_type() == heap_hton) ?
250
 
                                 min(thd->variables.tmp_table_size,
 
250
                                 cmin(thd->variables.tmp_table_size,
251
251
                                     thd->variables.max_heap_table_size) :
252
252
                                 thd->variables.tmp_table_size) /
253
253
                                 share->reclength);