From 7c6113a39f56832da982cfb4ff191e9db49ca798 Mon Sep 17 00:00:00 2001 From: "monty@mysql.com" <> Date: Thu, 20 Nov 2003 22:06:25 +0200 Subject: Merge key cache structures to one Fixed compiler warnings (IRIX C compiler and VC++) --- myisam/mi_extra.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'myisam/mi_extra.c') diff --git a/myisam/mi_extra.c b/myisam/mi_extra.c index 327d795d17b..fcc753b62e5 100644 --- a/myisam/mi_extra.c +++ b/myisam/mi_extra.c @@ -283,7 +283,7 @@ int mi_extra(MI_INFO *info, enum ha_extra_function function, void *extra_arg) #ifdef __WIN__ /* Close the isam and data files as Win32 can't drop an open table */ pthread_mutex_lock(&share->intern_lock); - if (flush_key_blocks(*share->keycache, share->kfile, + if (flush_key_blocks(share->key_cache, share->kfile, (function == HA_EXTRA_FORCE_REOPEN ? FLUSH_RELEASE : FLUSH_IGNORE_CHANGED))) { @@ -329,7 +329,7 @@ int mi_extra(MI_INFO *info, enum ha_extra_function function, void *extra_arg) break; case HA_EXTRA_FLUSH: if (!share->temporary) - flush_key_blocks(*share->key_cache, share->kfile, FLUSH_KEEP); + flush_key_blocks(share->key_cache, share->kfile, FLUSH_KEEP); #ifdef HAVE_PWRITE _mi_decrement_open_count(info); #endif -- cgit v1.2.1