~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/key.h

  • Committer: Brian Aker
  • Date: 2010-10-08 14:22:02 UTC
  • mfrom: (1802.16.21 bug621875)
  • mto: This revision was merged to the branch mainline in revision 1824.
  • Revision ID: brian@tangent.org-20101008142202-96maf31n9odkc13n
Merge Padraig

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#define DRIZZLED_KEY_H
23
23
 
24
24
#include <string>
 
25
#include <boost/dynamic_bitset.hpp>
25
26
 
26
27
#include "drizzled/memory/sql_alloc.h"
27
28
#include "drizzled/key_part_spec.h"
36
37
namespace memory { class Root; }
37
38
 
38
39
class Item;
39
 
class MyBitmap;
40
40
 
41
41
class Key :public memory::SqlAlloc {
42
42
public:
94
94
void key_zero_nulls(unsigned char *tuple, KeyInfo *key_info);
95
95
bool key_cmp_if_same(Table *form,const unsigned char *key,uint32_t index,uint32_t key_length);
96
96
void key_unpack(String *to,Table *form,uint32_t index);
97
 
bool is_key_used(Table *table, uint32_t idx, const MyBitmap *fields);
 
97
bool is_key_used(Table *table, uint32_t idx, const boost::dynamic_bitset<>& fields);
98
98
int key_cmp(KeyPartInfo *key_part, const unsigned char *key, uint32_t key_length);
99
99
 
100
100
} /* namespace drizzled */