~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to include/my_handler.h

  • 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:
50
50
  CHARSET_INFO *charset;
51
51
  uint32_t start;                               /* Start of key in record */
52
52
  uint32_t null_pos;                    /* position to NULL indicator */
53
 
  uint16 bit_pos;                       /* Position to bit part */
54
 
  uint16 flag;
55
 
  uint16 length;                        /* Keylength */
56
 
  uint8  type;                          /* Type of key (for sort) */
57
 
  uint8  language;
58
 
  uint8  null_bit;                      /* bitmask to test for NULL */
59
 
  uint8  bit_start,bit_end;             /* if bit field */
60
 
  uint8  bit_length;                    /* Length of bit part */
 
53
  uint16_t bit_pos;                       /* Position to bit part */
 
54
  uint16_t flag;
 
55
  uint16_t length;                      /* Keylength */
 
56
  uint8_t  type;                                /* Type of key (for sort) */
 
57
  uint8_t  language;
 
58
  uint8_t  null_bit;                    /* bitmask to test for NULL */
 
59
  uint8_t  bit_start,bit_end;           /* if bit field */
 
60
  uint8_t  bit_length;                    /* Length of bit part */
61
61
} HA_KEYSEG;
62
62
 
63
63
#define get_key_length(length,key) \
91
91
#define size_to_store_key_length(length) ((length) < 255 ? 1 : 3)
92
92
 
93
93
#define get_rec_bits(bit_ptr, bit_ofs, bit_len) \
94
 
  (((((uint16) (bit_ptr)[1] << 8) | (uint16) (bit_ptr)[0]) >> (bit_ofs)) & \
 
94
  (((((uint16_t) (bit_ptr)[1] << 8) | (uint16_t) (bit_ptr)[0]) >> (bit_ofs)) & \
95
95
   ((1 << (bit_len)) - 1))
96
96
 
97
97
#define set_rec_bits(bits, bit_ptr, bit_ofs, bit_len) \