summaryrefslogtreecommitdiff
path: root/myisam/mi_panic.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_panic.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_panic.c')
-rw-r--r--myisam/mi_panic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/mi_panic.c b/myisam/mi_panic.c
index 3a436969b06..f1d1d839fcd 100644
--- a/myisam/mi_panic.c
+++ b/myisam/mi_panic.c
@@ -48,7 +48,7 @@ int mi_panic(enum ha_panic_function flag)
if (info->s->options & HA_OPTION_READ_ONLY_DATA)
break;
#endif
- if (flush_key_blocks(dflt_keycache,info->s->kfile,FLUSH_RELEASE))
+ if (flush_key_blocks(*info->s->keycache,info->s->kfile,FLUSH_RELEASE))
error=my_errno;
if (info->opt_flag & WRITE_CACHE_USED)
if (flush_io_cache(&info->rec_cache))