~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/key.cc

  • Committer: Brian Aker
  • Date: 2008-07-05 19:24:24 UTC
  • mfrom: (53.2.8 codestyle)
  • Revision ID: brian@tangent.org-20080705192424-3uslywtteymm7xqy
First pass of removing BIT_TYPE

Show diffs side-by-side

added added

removed removed

Lines of Context:
194
194
        to_record[key_part->null_offset]&= ~key_part->null_bit;
195
195
      key_length--;
196
196
    }
197
 
    if (key_part->type == HA_KEYTYPE_BIT)
198
 
    {
199
 
      Field_bit *field= (Field_bit *) (key_part->field);
200
 
      if (field->bit_len)
201
 
      {
202
 
        uchar bits= *(from_key + key_part->length -
203
 
                      field->pack_length_in_rec() - 1);
204
 
        set_rec_bits(bits, to_record + key_part->null_offset +
205
 
                     (key_part->null_bit == 128),
206
 
                     field->bit_ofs, field->bit_len);
207
 
        /* we have now used the byte with 'uneven' bits */
208
 
        used_uneven_bits= 1;
209
 
      }
210
 
    }
211
197
    if (key_part->key_part_flag & HA_BLOB_PART)
212
198
    {
213
199
      /*