~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_create.c

  • Committer: Monty Taylor
  • Date: 2009-03-19 18:43:15 UTC
  • mfrom: (937.2.9 sparc)
  • mto: (950.1.1 mordred)
  • mto: This revision was merged to the branch mainline in revision 945.
  • Revision ID: mordred@inaugust.com-20090319184315-qsnstre015btk0oq
Merged from Stewart.

Show diffs side-by-side

added added

removed removed

Lines of Context:
367
367
      my_errno=HA_WRONG_CREATE_OPTION;
368
368
      goto err;
369
369
    }
370
 
    set_if_bigger(max_key_block_length,keydef->block_length);
 
370
    set_if_bigger(max_key_block_length,(uint32_t)keydef->block_length);
371
371
    keydef->keylength= (uint16_t) key_length;
372
372
    keydef->minlength= (uint16_t) (length-min_key_length_skip);
373
373
    keydef->maxlength= (uint16_t) length;