summaryrefslogtreecommitdiff
path: root/myisam/mi_delete_all.c
diff options
context:
space:
mode:
Diffstat (limited to 'myisam/mi_delete_all.c')
-rw-r--r--myisam/mi_delete_all.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/mi_delete_all.c b/myisam/mi_delete_all.c
index 99873661feb..357df9ebe3e 100644
--- a/myisam/mi_delete_all.c
+++ b/myisam/mi_delete_all.c
@@ -53,7 +53,7 @@ int mi_delete_all_rows(MI_INFO *info)
If we are using delayed keys or if the user has done changes to the tables
since it was locked then there may be key blocks in the key cache
*/
- flush_key_blocks(*share->keycache, share->kfile, FLUSH_IGNORE_CHANGED);
+ flush_key_blocks(*share->key_cache, share->kfile, FLUSH_IGNORE_CHANGED);
if (my_chsize(info->dfile, 0, 0, MYF(MY_WME)) ||
my_chsize(share->kfile, share->base.keystart, 0, MYF(MY_WME)) )
goto err;