~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/mf_keycache.cc

  • Committer: Brian Aker
  • Date: 2010-01-18 19:39:12 UTC
  • mfrom: (1251.2.9 working)
  • Revision ID: brian@gaz-20100118193912-rf7ncdnrhvowyfo6
Merge Jay

Show diffs side-by-side

added added

removed removed

Lines of Context:
266
266
*/
267
267
 
268
268
int init_key_cache(KEY_CACHE *keycache, uint32_t key_cache_block_size,
269
 
                   size_t use_mem, uint32_t division_limit,
 
269
                   uint32_t use_mem, uint32_t division_limit,
270
270
                   uint32_t age_threshold)
271
271
{
272
272
  uint32_t blocks, hash_links;
387
387
  }
388
388
  else
389
389
  {
390
 
    /* key_buffer_size is specified too small. Disable the cache. */
 
390
    /* myisam_key_buffer_size is specified too small. Disable the cache. */
391
391
    keycache->can_be_used= 0;
392
392
  }
393
393
 
444
444
*/
445
445
 
446
446
int resize_key_cache(KEY_CACHE *keycache, uint32_t key_cache_block_size,
447
 
                     size_t use_mem, uint32_t division_limit,
 
447
                     uint32_t use_mem, uint32_t division_limit,
448
448
                     uint32_t age_threshold)
449
449
{
450
450
  int blocks;