~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/alter_table.cc

  • Committer: Mark Atwood
  • Date: 2011-10-05 15:24:11 UTC
  • mfrom: (2420.2.4 rf)
  • Revision ID: me@mark.atwood.name-20111005152411-xksdn4vulhmtz2x4
mergeĀ lp:~olafvdspek/drizzle/refactor1a

Show diffs side-by-side

added added

removed removed

Lines of Context:
529
529
          key_part_length= 0; /* Use whole field */
530
530
      }
531
531
      key_part_length/= key_part->field->charset()->mbmaxlen;
532
 
      key_parts.push_back(new Key_part_spec(cfield->field_name,
533
 
                                            strlen(cfield->field_name),
534
 
                                            key_part_length));
 
532
      key_parts.push_back(new Key_part_spec(cfield->field_name, strlen(cfield->field_name), key_part_length));
535
533
    }
536
534
    if (key_parts.size())
537
535
    {
538
 
      key_create_information_st key_create_info= default_key_create_info;
 
536
      KEY_CREATE_INFO key_create_info= default_key_create_info;
539
537
      key_create_info.algorithm= key_info->algorithm;
540
538
 
541
539
      if (key_info->flags & HA_USES_BLOCK_SIZE)