~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/myisamchk.c

  • Committer: Brian Aker
  • Date: 2008-08-01 18:59:55 UTC
  • Revision ID: brian@tangent.org-20080801185955-o1j93r71gd6onvzr
Random key cleanup (it is a friday...)

Show diffs side-by-side

added added

removed removed

Lines of Context:
981
981
        */
982
982
        my_bool update_index=1;
983
983
        for (key=0 ; key < share->base.keys; key++)
984
 
          if (share->keyinfo[key].flag & (HA_BINARY_PACK_KEY|HA_FULLTEXT))
 
984
          if (share->keyinfo[key].flag & (HA_BINARY_PACK_KEY))
985
985
            update_index=0;
986
986
 
987
987
        error=mi_sort_records(param,info,filename,param->opt_sort_key,
1258
1258
  {
1259
1259
    keyseg=keyinfo->seg;
1260
1260
    if (keyinfo->flag & HA_NOSAME) text="unique ";
1261
 
    else if (keyinfo->flag & HA_FULLTEXT) text="fulltext ";
1262
1261
    else text="multip.";
1263
1262
 
1264
1263
    pos=buff;
1429
1428
    param->error_printed=0;
1430
1429
    return(0);                          /* Nothing to do */
1431
1430
  }
1432
 
  if (keyinfo->flag & HA_FULLTEXT)
1433
 
  {
1434
 
    mi_check_print_warning(param,"Can't sort table '%s' on FULLTEXT key %d",
1435
 
                           name,sort_key+1);
1436
 
    param->error_printed=0;
1437
 
    return(0);                          /* Nothing to do */
1438
 
  }
1439
1431
  if (share->data_file_type == COMPRESSED_RECORD)
1440
1432
  {
1441
1433
    mi_check_print_warning(param,"Can't sort read-only table '%s'", name);