~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_dynrec.c

  • 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:
830
830
        uint tmp=MY_ALIGN(reclength - length + 3 +
831
831
                          test(reclength >= 65520L),MI_DYN_ALIGN_SIZE);
832
832
        /* Don't create a block bigger than MI_MAX_BLOCK_LENGTH */
833
 
        tmp= min(length+tmp, MI_MAX_BLOCK_LENGTH)-length;
 
833
        tmp= cmin(length+tmp, MI_MAX_BLOCK_LENGTH)-length;
834
834
        /* Check if we can extend this block */
835
835
        if (block_info.filepos + block_info.block_len ==
836
836
            info->state->data_file_length &&