~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/heapdef.h

  • Committer: Monty Taylor
  • Date: 2009-01-06 18:46:25 UTC
  • mto: This revision was merged to the branch mainline in revision 762.
  • Revision ID: mordred@inaugust.com-20090106184625-kqu7nsnwjwm5jv4s
Enabled dirty_close.

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
  uint32_t key_length;
73
73
  uint32_t search_flag;
74
74
} heap_rb_param;
75
 
      
 
75
 
76
76
        /* Prototypes for intern functions */
77
77
 
78
78
extern HP_SHARE *hp_find_named_heap(const char *name);
84
84
                           unsigned char *last_pos);
85
85
extern int hp_write_key(HP_INFO *info, HP_KEYDEF *keyinfo,
86
86
                        const unsigned char *record, unsigned char *recpos);
87
 
extern int hp_rb_write_key(HP_INFO *info, HP_KEYDEF *keyinfo, 
 
87
extern int hp_rb_write_key(HP_INFO *info, HP_KEYDEF *keyinfo,
88
88
                           const unsigned char *record, unsigned char *recpos);
89
89
extern int hp_rb_delete_key(HP_INFO *info,HP_KEYDEF *keyinfo,
90
90
                            const unsigned char *record,unsigned char *recpos,int flag);
119
119
                           key_part_map keypart_map);
120
120
 
121
121
   /* Chunkset management (alloc/free/encode/decode) functions */
122
 
 
 
122
 
123
123
extern unsigned char *hp_allocate_chunkset(HP_DATASPACE *info, uint32_t chunk_count);
124
124
extern int hp_reallocate_chunkset(HP_DATASPACE *info, uint32_t chunk_count, unsigned char* pos);
125
125
extern void hp_free_chunks(HP_DATASPACE *info, unsigned char *pos);
126
126
extern void hp_clear_dataspace(HP_DATASPACE *info);
127
 
 
 
127
 
128
128
extern uint32_t hp_get_encoded_data_length(HP_SHARE *info, const unsigned char *record, uint32_t *chunk_count);
129
129
extern void hp_copy_record_data_to_chunkset(HP_SHARE *info, const unsigned char *record, unsigned char *pos);
130
130
extern void hp_extract_record(HP_SHARE *info, unsigned char *record, const unsigned char *pos);