summaryrefslogtreecommitdiff
path: root/myisam/mi_close.c
diff options
context:
space:
mode:
Diffstat (limited to 'myisam/mi_close.c')
-rw-r--r--myisam/mi_close.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/mi_close.c b/myisam/mi_close.c
index dbaaebb1143..8e7fb497dfc 100644
--- a/myisam/mi_close.c
+++ b/myisam/mi_close.c
@@ -64,7 +64,7 @@ int mi_close(register MI_INFO *info)
if (flag)
{
if (share->kfile >= 0 &&
- flush_key_blocks(share->kfile,
+ flush_key_blocks(*share->keycache,share->kfile,
share->temporary ? FLUSH_IGNORE_CHANGED :
FLUSH_RELEASE))
error=my_errno;