diff options
Diffstat (limited to 'myisam/mi_delete_all.c')
-rw-r--r-- | myisam/mi_delete_all.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/mi_delete_all.c b/myisam/mi_delete_all.c index 46d887a90d8..99873661feb 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(dflt_keycache, share->kfile, FLUSH_IGNORE_CHANGED); + flush_key_blocks(*share->keycache, 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; |