~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/base.h

  • Committer: Brian Aker
  • Date: 2009-10-07 16:29:08 UTC
  • mfrom: (1161.1.7 fix-key_type)
  • Revision ID: brian@gaz-20091007162908-dkbo2z385i7kiyvn
Merge Stewart.

Show diffs side-by-side

added added

removed removed

Lines of Context:
194
194
  HA_KEYTYPE_END=0,
195
195
  HA_KEYTYPE_TEXT=1,                    /* Key is sorted as letters */
196
196
  HA_KEYTYPE_BINARY=2,                  /* Key is sorted as unsigned chars */
197
 
  HA_KEYTYPE_SHORT_INT=3,
198
197
  HA_KEYTYPE_LONG_INT=4,
199
 
  HA_KEYTYPE_FLOAT=5,
200
198
  HA_KEYTYPE_DOUBLE=6,
201
 
  HA_KEYTYPE_NUM=7,                     /* Not packed num with pre-space */
202
 
  HA_KEYTYPE_USHORT_INT=8,
203
199
  HA_KEYTYPE_ULONG_INT=9,
204
200
  HA_KEYTYPE_LONGLONG=10,
205
201
  HA_KEYTYPE_ULONGLONG=11,
206
 
  HA_KEYTYPE_INT24=12,
207
202
  HA_KEYTYPE_UINT24=13,
208
 
  HA_KEYTYPE_INT8=14,
209
203
  /* Varchar (0-255 bytes) with length packed with 1 byte */
210
204
  HA_KEYTYPE_VARTEXT1=15,               /* Key is sorted as letters */
211
205
  HA_KEYTYPE_VARBINARY1=16,             /* Key is sorted as unsigned chars */
212
206
  /* Varchar (0-65535 bytes) with length packed with 2 bytes */
213
207
  HA_KEYTYPE_VARTEXT2=17,               /* Key is sorted as letters */
214
 
  HA_KEYTYPE_VARBINARY2=18,             /* Key is sorted as unsigned chars */
215
 
  HA_KEYTYPE_BIT=19
 
208
  HA_KEYTYPE_VARBINARY2=18              /* Key is sorted as unsigned chars */
216
209
};
217
210
 
218
211
#define HA_MAX_KEYTYPE  31              /* Must be log2-1 */