~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/key.h

  • Committer: Stewart Smith
  • Date: 2010-01-09 00:51:36 UTC
  • mto: This revision was merged to the branch mainline in revision 1266.
  • Revision ID: stewart@flamingspork.com-20100109005136-ocj7l996l709oaev
remove mention of getting information from FRM files for INFORMATION_SCHEMA. The comment was now pretty much all lies anyway

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
#include "drizzled/sql_string.h"
31
31
#include "drizzled/handler_structs.h"
32
32
 
33
 
namespace drizzled
34
 
{
35
 
 
36
 
namespace memory { class Root; }
37
 
 
38
33
class Item;
39
34
class MyBitmap;
 
35
namespace drizzled { namespace memory { class Root; } }
40
36
 
41
 
class Key :public memory::SqlAlloc {
 
37
class Key :public drizzled::memory::SqlAlloc {
42
38
public:
43
39
  enum Keytype { PRIMARY, UNIQUE, MULTIPLE, FOREIGN_KEY};
44
40
  enum Keytype type;
97
93
bool is_key_used(Table *table, uint32_t idx, const MyBitmap *fields);
98
94
int key_cmp(KEY_PART_INFO *key_part, const unsigned char *key, uint32_t key_length);
99
95
extern "C" int key_rec_cmp(void *key_info, unsigned char *a, unsigned char *b);
100
 
 
101
 
} /* namespace drizzled */
102
 
 
103
96
#endif /* DRIZZLED_KEY_H */