~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/ha_myisam.cc

  • Committer: Mark Atwood
  • Date: 2011-09-14 03:30:42 UTC
  • mfrom: (2409.2.6 refactor7)
  • Revision ID: me@mark.atwood.name-20110914033042-2u0s8foaigvf62g2
mergeĀ lp:~olafvdspek/drizzle/refactor7

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
boost::mutex THR_LOCK_myisam;
61
61
 
62
62
static uint32_t myisam_key_cache_block_size= KEY_CACHE_BLOCK_SIZE;
63
 
static uint32_t myisam_key_cache_size;
64
 
static uint32_t myisam_key_cache_division_limit;
65
 
static uint32_t myisam_key_cache_age_threshold;
66
63
static uint64_t max_sort_file_size;
67
64
typedef constrained_check<size_t, SIZE_MAX, 1024, 1024> sort_buffer_constraint;
68
65
static sort_buffer_constraint sort_buffer_size;
69
66
 
70
 
void st_mi_isam_share::setKeyCache()
71
 
{
72
 
  (void)init_key_cache(&key_cache,
73
 
                       myisam_key_cache_block_size,
74
 
                       myisam_key_cache_size,
75
 
                       myisam_key_cache_division_limit, 
76
 
                       myisam_key_cache_age_threshold);
77
 
}
78
 
 
79
67
/*****************************************************************************
80
68
** MyISAM tables
81
69
*****************************************************************************/