~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/keycache.h

  • Committer: Brian Aker
  • Date: 2009-10-12 06:15:02 UTC
  • mfrom: (1165.1.178 static-functions)
  • Revision ID: brian@gaz-20091012061502-cds4m0cya7ow8sj7
Merge Stewart

Show diffs side-by-side

added added

removed removed

Lines of Context:
129
129
extern int resize_key_cache(KEY_CACHE *keycache, uint32_t key_cache_block_size,
130
130
                            size_t use_mem, uint32_t division_limit,
131
131
                            uint32_t age_threshold);
132
 
extern void change_key_cache_param(KEY_CACHE *keycache, uint32_t division_limit,
133
 
                                   uint32_t age_threshold);
134
132
extern unsigned char *key_cache_read(KEY_CACHE *keycache,
135
133
                            File file, my_off_t filepos, int level,
136
134
                            unsigned char *buff, uint32_t length,
146
144
                            int file, enum flush_type type);
147
145
extern void end_key_cache(KEY_CACHE *keycache, bool cleanup);
148
146
 
149
 
/* Functions to handle multiple key caches */
150
 
extern bool multi_keycache_init(void);
151
 
extern void multi_keycache_free(void);
152
 
extern KEY_CACHE *multi_key_cache_search(unsigned char *key, uint32_t length);
153
 
extern bool multi_key_cache_set(const unsigned char *key, uint32_t length,
154
 
                                   KEY_CACHE *key_cache);
155
 
extern void multi_key_cache_change(KEY_CACHE *old_data,
156
 
                                   KEY_CACHE *new_data);
157
147
extern void reset_key_cache_counters();
158
148
 
159
149
#ifdef __cplusplus