~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/log.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:
1669
1669
  {
1670
1670
    char *p= fn_ext(log_name);
1671
1671
    uint length= (uint) (p - log_name);
1672
 
    strmake(buff, log_name, min(length, (uint)FN_REFLEN));
 
1672
    strmake(buff, log_name, cmin(length, (uint)FN_REFLEN));
1673
1673
    return (const char*)buff;
1674
1674
  }
1675
1675
  return log_name;