~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/structs.h

MergedĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
  uint  offset;                         /* offset in record (from 0) */
55
55
  uint  null_offset;                    /* Offset to null_bit in record */
56
56
  /* Length of key part in bytes, excluding NULL flag and length bytes */
57
 
  uint16 length;
 
57
  uint16_t length;
58
58
  /*
59
59
    Number of bytes required to store the keypart value. This may be
60
60
    different from the "length" field as it also counts
63
63
       actual value is stored from offset+1].
64
64
     - possible HA_KEY_BLOB_LENGTH bytes needed to store actual value length.
65
65
  */
66
 
  uint16 store_length;
67
 
  uint16 key_type;
68
 
  uint16 fieldnr;                       /* Fieldnum in UNIREG (1,2,3,...) */
69
 
  uint16 key_part_flag;                 /* 0 or HA_REVERSE_SORT */
70
 
  uint8 type;
71
 
  uint8 null_bit;                       /* Position to null_bit */
 
66
  uint16_t store_length;
 
67
  uint16_t key_type;
 
68
  uint16_t fieldnr;                     /* Fieldnum in UNIREG (1,2,3,...) */
 
69
  uint16_t key_part_flag;                       /* 0 or HA_REVERSE_SORT */
 
70
  uint8_t type;
 
71
  uint8_t null_bit;                     /* Position to null_bit */
72
72
} KEY_PART_INFO ;
73
73
 
74
74