~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/key.h

Merge of Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
#include <drizzled/sql_list.h>
28
28
#include <drizzled/lex_string.h>
29
29
#include <drizzled/handler_structs.h>
30
 
#include <bitset>
31
30
 
32
31
class Item;
33
32
typedef struct st_mem_root MEM_ROOT;
101
100
void key_zero_nulls(unsigned char *tuple, KEY *key_info);
102
101
bool key_cmp_if_same(Table *form,const unsigned char *key,uint32_t index,uint32_t key_length);
103
102
void key_unpack(String *to,Table *form,uint32_t index);
104
 
bool is_key_used(Table *table, uint32_t idx, const std::bitset<MAX_FIELDS> *fields);
 
103
bool is_key_used(Table *table, uint32_t idx, const MY_BITMAP *fields);
105
104
int key_cmp(KEY_PART_INFO *key_part, const unsigned char *key, uint32_t key_length);
106
105
extern "C" int key_rec_cmp(void *key_info, unsigned char *a, unsigned char *b);
107
106
#endif /* DRIZZLED_KEY_H */