summaryrefslogtreecommitdiff
path: root/storage/maria/ma_pagecaches.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/maria/ma_pagecaches.c')
-rw-r--r--storage/maria/ma_pagecaches.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/storage/maria/ma_pagecaches.c b/storage/maria/ma_pagecaches.c
index d2ed4edca31..a9460be10c5 100644
--- a/storage/maria/ma_pagecaches.c
+++ b/storage/maria/ma_pagecaches.c
@@ -38,7 +38,7 @@ static SAFE_HASH pagecache_hash;
my_bool multi_pagecache_init(void)
{
- return safe_hash_init(&pagecache_hash, 16, (byte*) maria_pagecache);
+ return safe_hash_init(&pagecache_hash, 16, (uchar*) maria_pagecache);
}
@@ -65,7 +65,7 @@ void multi_pagecache_free(void)
key cache to use
*/
-PAGECACHE *multi_pagecache_search(byte *key, uint length,
+PAGECACHE *multi_pagecache_search(uchar *key, uint length,
PAGECACHE *def)
{
if (!pagecache_hash.hash.records)
@@ -91,15 +91,15 @@ PAGECACHE *multi_pagecache_search(byte *key, uint length,
*/
-my_bool multi_pagecache_set(const byte *key, uint length,
+my_bool multi_pagecache_set(const uchar *key, uint length,
PAGECACHE *pagecache)
{
- return safe_hash_set(&pagecache_hash, key, length, (byte*) pagecache);
+ return safe_hash_set(&pagecache_hash, key, length, (uchar*) pagecache);
}
void multi_pagecache_change(PAGECACHE *old_data,
PAGECACHE *new_data)
{
- safe_hash_change(&pagecache_hash, (byte*) old_data, (byte*) new_data);
+ safe_hash_change(&pagecache_hash, (uchar*) old_data, (uchar*) new_data);
}