summaryrefslogtreecommitdiff
path: root/myisam/mi_delete_all.c
diff options
context:
space:
mode:
authorigor@rurik.mysql.com <>2003-08-02 02:43:18 -0700
committerigor@rurik.mysql.com <>2003-08-02 02:43:18 -0700
commit9306f55d8e62aca4e00dab3408a8395af85fb947 (patch)
treeadd5cbee3049a38799b03ee640b5ae06fbc34ef1 /myisam/mi_delete_all.c
parentf0ca5d545d801a5c1efdda878a5f85079c30f428 (diff)
downloadmariadb-git-9306f55d8e62aca4e00dab3408a8395af85fb947.tar.gz
Many files:
Added key cache assignment mi_locking.c: Added key cache assignment: correction my_sys.h: Added key cache variable structure
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 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;