~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/base.h

  • Committer: lbieber
  • Date: 2010-10-06 16:34:16 UTC
  • mfrom: (1816.1.3 build)
  • Revision ID: lbieber@orisndriz08-20101006163416-ea0sl59qgpglk21y
Merge Monty - Change the requirement from either libinnodb to libhaildb. Also, tied it to version 2.2
Merge Andrew - fix bug 650935: remove --compress from all clients
Merge Andrew - fix bug 653471: Add -A to drizzle client
Merge Travis - 621861 = To change C structs to C++ classes in Drizzle

Show diffs side-by-side

added added

removed removed

Lines of Context:
473
473
*/
474
474
#define NULL_RANGE      64
475
475
 
476
 
typedef struct st_key_range
 
476
class key_range
477
477
{
 
478
public:
478
479
  const unsigned char *key;
479
480
  uint32_t length;
480
481
  enum ha_rkey_function flag;
481
482
  key_part_map keypart_map;
482
 
} key_range;
 
483
};
483
484
 
484
 
typedef struct st_key_multi_range
 
485
class KEY_MULTI_RANGE
485
486
{
 
487
public:
486
488
  key_range start_key;
487
489
  key_range end_key;
488
490
  char  *ptr;                 /* Free to use by caller (ptr to row etc) */
489
491
  uint32_t  range_flag;           /* key range flags see above */
490
 
} KEY_MULTI_RANGE;
 
492
};
491
493
 
492
494
 
493
495
/* For number of records */