~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_unique.c

  • Committer: Stewart Smith
  • Date: 2009-03-18 00:29:24 UTC
  • mto: (942.1.10 mordred)
  • mto: This revision was merged to the branch mainline in revision 945.
  • Revision ID: stewart@flamingspork.com-20090318002924-gixoh4t5mhbw8qyz
make set_if_bigger typesafe for C and C++. Fix up everywhere.

Show diffs side-by-side

added added

removed removed

Lines of Context:
152
152
  for (keyseg=def->seg ; keyseg < def->end ; keyseg++)
153
153
  {
154
154
    enum ha_base_keytype type=(enum ha_base_keytype) keyseg->type;
155
 
    uint32_t a_length, b_length;
 
155
    uint16_t a_length, b_length;
156
156
    a_length= b_length= keyseg->length;
157
157
 
158
158
    /* If part is NULL it's regarded as different */