~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/ha_myisam.cc

  • Committer: Brian Aker
  • Date: 2008-07-23 00:11:39 UTC
  • Revision ID: brian@tangent.org-20080723001139-967ewfngqqotwb6e
Removed final uint dead types.

Show diffs side-by-side

added added

removed removed

Lines of Context:
150
150
  pos= table_arg->key_info;
151
151
  for (i= 0; i < share->keys; i++, pos++)
152
152
  {
153
 
    keydef[i].flag= ((uint16) pos->flags & (HA_NOSAME | HA_FULLTEXT ));
 
153
    keydef[i].flag= ((uint16_t) pos->flags & (HA_NOSAME | HA_FULLTEXT ));
154
154
    keydef[i].key_alg= pos->algorithm == HA_KEY_ALG_UNDEF ?  (HA_KEY_ALG_BTREE) : pos->algorithm;
155
155
    keydef[i].block_length= pos->block_size;
156
156
    keydef[i].seg= keyseg;
243
243
    { // Reserved space (Null bits?)
244
244
      bzero((char*) recinfo_pos, sizeof(*recinfo_pos));
245
245
      recinfo_pos->type= (int) FIELD_NORMAL;
246
 
      recinfo_pos++->length= (uint16) (minpos - recpos);
 
246
      recinfo_pos++->length= (uint16_t) (minpos - recpos);
247
247
    }
248
248
    if (!found)
249
249
      break;
275
275
      recinfo_pos->null_bit= 0;
276
276
      recinfo_pos->null_pos= 0;
277
277
    }
278
 
    (recinfo_pos++)->length= (uint16) length;
 
278
    (recinfo_pos++)->length= (uint16_t) length;
279
279
    recpos= minpos + length;
280
280
  }
281
281
  *records_out= (uint) (recinfo_pos - recinfo);
362
362
    }
363
363
    for (j=  t1_keyinfo[i].keysegs; j--;)
364
364
    {
365
 
      uint8 t1_keysegs_j__type= t1_keysegs[j].type;
 
365
      uint8_t t1_keysegs_j__type= t1_keysegs[j].type;
366
366
 
367
367
      /*
368
368
        Table migration from 4.1 to 5.1. In 5.1 a *TEXT key part is