~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/blitzdb/blitzcmp.cc

Remove support for 3 byte indexes (we don't have 3 byte types, this is
mainly just a cleanup for anyone who ever tries to read the code).

Show diffs side-by-side

added added

removed removed

Lines of Context:
240
240
      a_next_offset = b_next_offset = curr_part->length;
241
241
      break;
242
242
    }
243
 
    case HA_KEYTYPE_UINT24: {
244
 
      uint32_t a_int_val = uint3korr(a_pos);
245
 
      uint32_t b_int_val = uint3korr(b_pos);
246
 
 
247
 
      *a_compared_len += curr_part->length;
248
 
      *b_compared_len += curr_part->length;
249
 
 
250
 
      if (a_int_val < b_int_val)
251
 
        return -1;
252
 
      else if (a_int_val > b_int_val)
253
 
        return 1;
254
 
 
255
 
      a_next_offset = b_next_offset = curr_part->length;
256
 
      break;
257
 
    }
258
243
    case HA_KEYTYPE_DOUBLE: {
259
244
      double a_double_val, b_double_val;
260
245
      float8get(a_double_val, a_pos);