~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/key.h

  • Committer: Brian Aker
  • Date: 2009-04-13 16:22:40 UTC
  • mfrom: (971.1.78 mordred)
  • Revision ID: brian@gaz-20090413162240-ugi3gvhofmcuglzl
Merge 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>
30
31
 
31
32
class Item;
32
33
typedef struct st_mem_root MEM_ROOT;
100
101
void key_zero_nulls(unsigned char *tuple, KEY *key_info);
101
102
bool key_cmp_if_same(Table *form,const unsigned char *key,uint32_t index,uint32_t key_length);
102
103
void key_unpack(String *to,Table *form,uint32_t index);
103
 
bool is_key_used(Table *table, uint32_t idx, const MY_BITMAP *fields);
 
104
bool is_key_used(Table *table, uint32_t idx, const std::bitset<MAX_FIELDS> *fields);
104
105
int key_cmp(KEY_PART_INFO *key_part, const unsigned char *key, uint32_t key_length);
105
106
extern "C" int key_rec_cmp(void *key_info, unsigned char *a, unsigned char *b);
106
107
#endif /* DRIZZLED_KEY_H */