~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/base.h

  • Committer: Andrew Hutchings
  • Date: 2010-11-01 22:14:18 UTC
  • mto: This revision was merged to the branch mainline in revision 1907.
  • Revision ID: andrew@linuxjedi.co.uk-20101101221418-9n9gmm4ms7fl8vo5
Fix copyright

Show diffs side-by-side

added added

removed removed

Lines of Context:
192
192
  HA_KEYTYPE_ULONG_INT=9,
193
193
  HA_KEYTYPE_LONGLONG=10,
194
194
  HA_KEYTYPE_ULONGLONG=11,
195
 
  HA_KEYTYPE_UINT24=13,
196
195
  /* Varchar (0-255 bytes) with length packed with 1 byte */
197
196
  HA_KEYTYPE_VARTEXT1=15,               /* Key is sorted as letters */
198
197
  HA_KEYTYPE_VARBINARY1=16,             /* Key is sorted as unsigned chars */
474
473
*/
475
474
#define NULL_RANGE      64
476
475
 
477
 
typedef struct st_key_range
 
476
class key_range
478
477
{
 
478
public:
479
479
  const unsigned char *key;
480
480
  uint32_t length;
481
481
  enum ha_rkey_function flag;
482
482
  key_part_map keypart_map;
483
 
} key_range;
 
483
};
484
484
 
485
 
typedef struct st_key_multi_range
 
485
class KEY_MULTI_RANGE
486
486
{
 
487
public:
487
488
  key_range start_key;
488
489
  key_range end_key;
489
490
  char  *ptr;                 /* Free to use by caller (ptr to row etc) */
490
491
  uint32_t  range_flag;           /* key range flags see above */
491
 
} KEY_MULTI_RANGE;
 
492
};
492
493
 
493
494
 
494
495
/* For number of records */