~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/my_handler.cc

  • Committer: Olaf van der Spek
  • Date: 2011-02-12 18:24:24 UTC
  • mto: (2167.1.2 build) (2172.1.4 build)
  • mto: This revision was merged to the branch mainline in revision 2168.
  • Revision ID: olafvdspek@gmail.com-20110212182424-kgnm9osi7qo97at2
casts

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
3
 *
4
 
 *  Copyright (C) 2008 Sun Microsystems
 
4
 *  Copyright (C) 2008 Sun Microsystems, Inc.
5
5
 *
6
6
 *  This program is free software; you can redistribute it and/or modify
7
7
 *  it under the terms of the GNU General Public License as published by
297
297
      a=  end;
298
298
      b+= 4; /* sizeof(long int); */
299
299
      break;
300
 
    case HA_KEYTYPE_UINT24:
301
 
      l_1=mi_uint3korr(a);
302
 
      l_2=mi_uint3korr(b);
303
 
      if (piks && (flag = CMP_NUM(l_1,l_2)))
304
 
        return ((keyseg->flag & HA_REVERSE_SORT) ? -flag : flag);
305
 
      a=  end;
306
 
      b+= 3;
307
 
      break;
308
300
    case HA_KEYTYPE_DOUBLE:
309
301
      mi_float8get(d_1,a);
310
302
      mi_float8get(d_2,b);
428
420
      }
429
421
    case HA_KEYTYPE_LONG_INT:
430
422
    case HA_KEYTYPE_ULONG_INT:
431
 
    case HA_KEYTYPE_UINT24:
432
423
    case HA_KEYTYPE_LONGLONG:
433
424
    case HA_KEYTYPE_ULONGLONG:
434
425
    case HA_KEYTYPE_DOUBLE: