~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/heap/heap_priv.h

Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
  as possible and keep memory consumption down.
36
36
*/
37
37
 
38
 
#ifdef __cplusplus
39
 
extern "C" {
40
 
#endif
41
 
 
42
38
#define CHUNK_STATUS_DELETED 0    /* this chunk has been deleted and can be reused */
43
39
#define CHUNK_STATUS_ACTIVE  1    /* this chunk represents the first part of a live record */
44
40
#define CHUNK_STATUS_LINKED  2    /* this chunk is a continuation from another chunk (part of chunkset) */
110
106
extern bool hp_if_null_in_key(HP_KEYDEF *keyinfo, const unsigned char *record);
111
107
extern int hp_close(HP_INFO *info);
112
108
extern void hp_clear(HP_SHARE *info);
113
 
extern uint32_t hp_rb_pack_key(HP_KEYDEF *keydef, unsigned char *key, const unsigned char *old,
114
 
                           key_part_map keypart_map);
 
109
extern uint32_t hp_rb_pack_key(HP_KEYDEF *keydef,
 
110
                               unsigned char *key, const unsigned char *old,
 
111
                               drizzled::key_part_map keypart_map);
115
112
 
116
113
   /* Chunkset management (alloc/free/encode/decode) functions */
117
114
 
129
126
 
130
127
extern pthread_mutex_t THR_LOCK_heap;
131
128
 
132
 
#ifdef __cplusplus
133
 
}
134
 
#endif
135
 
 
136
129
#endif /* PLUGIN_HEAP_HEAP_PRIV_H */