~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/str/export_set.cc

  • Committer: Nathan Williams
  • Date: 2009-06-24 18:16:14 UTC
  • mto: This revision was merged to the branch mainline in revision 1082.
  • Revision ID: nathanlws@gmail.com-20090624181614-cju6aaqmn2u5w2nw
Converted all usages of cmax in drizzled/field/ and drizzled/function/ to std::max.

Show diffs side-by-side

added added

removed removed

Lines of Context:
95
95
 
96
96
void Item_func_export_set::fix_length_and_dec()
97
97
{
98
 
  uint32_t length= cmax(args[1]->max_length,args[2]->max_length);
 
98
  uint32_t length= max(args[1]->max_length,args[2]->max_length);
99
99
  uint32_t sep_length= (arg_count > 3 ? args[3]->max_length : 1);
100
100
  max_length= length*64+sep_length*63;
101
101