diff options
author | unknown <kaa@polly.(none)> | 2007-10-02 11:14:19 +0400 |
---|---|---|
committer | unknown <kaa@polly.(none)> | 2007-10-02 11:14:19 +0400 |
commit | 043e5a11925b8c84574d2adc90ae8d025b3c6e0a (patch) | |
tree | 310025d49d1198a4dfbd914bf73a46fb1456999d /include | |
parent | ac275fd5fa2e91aade8fdf0aff50c13a9a33fa94 (diff) | |
parent | 3d65f867148f02a799bddf50bf1bdf1a6edb69af (diff) | |
download | mariadb-git-043e5a11925b8c84574d2adc90ae8d025b3c6e0a.tar.gz |
Merge polly.(none):/home/kaa/src/maint/bug5731/my50-bug5731_keycache
into polly.(none):/home/kaa/src/maint/bug5731/my50-bug5731
Diffstat (limited to 'include')
-rw-r--r-- | include/keycache.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/keycache.h b/include/keycache.h index 54c099fc474..424b4086cb4 100644 --- a/include/keycache.h +++ b/include/keycache.h @@ -46,7 +46,7 @@ typedef struct st_key_cache my_bool key_cache_inited; my_bool resize_in_flush; /* true during flush of resize operation */ my_bool can_be_used; /* usage of cache for read/write is allowed */ - ulong key_cache_mem_size; /* specified size of the cache memory */ + size_t key_cache_mem_size; /* specified size of the cache memory */ uint key_cache_block_size; /* size of the page buffer of a cache block */ ulong min_warm_blocks; /* min number of warm blocks; */ ulong age_threshold; /* age threshold for hot blocks */ @@ -101,11 +101,11 @@ typedef struct st_key_cache extern KEY_CACHE dflt_key_cache_var, *dflt_key_cache; extern int init_key_cache(KEY_CACHE *keycache, uint key_cache_block_size, - ulong use_mem, uint division_limit, - uint age_threshold); + size_t use_mem, uint division_limit, + uint age_threshold); extern int resize_key_cache(KEY_CACHE *keycache, uint key_cache_block_size, - ulong use_mem, uint division_limit, - uint age_threshold); + size_t use_mem, uint division_limit, + uint age_threshold); extern void change_key_cache_param(KEY_CACHE *keycache, uint division_limit, uint age_threshold); extern byte *key_cache_read(KEY_CACHE *keycache, |