529
529
key_part_length= 0; /* Use whole field */
531
531
key_part_length/= key_part->field->charset()->mbmaxlen;
532
key_parts.push_back(new Key_part_spec(cfield->field_name, strlen(cfield->field_name), key_part_length));
539
537
key_create_info.algorithm= key_info->algorithm;
541
539
if (key_info->flags & HA_USES_BLOCK_SIZE)