summaryrefslogtreecommitdiff
path: root/storage/myisam/mi_close.c
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2010-02-16 08:41:11 -0800
committerIgor Babaev <igor@askmonty.org>2010-02-16 08:41:11 -0800
commit7e4d89c97379249ace6633bc406ff2ec2418252a (patch)
treedc84b4cc035110c628b938857226612fe3fac18d /storage/myisam/mi_close.c
parentabb87914ecb4caa1becce4fc4d30c110a6b2c041 (diff)
downloadmariadb-git-7e4d89c97379249ace6633bc406ff2ec2418252a.tar.gz
WL#86: Partitioned key cache for MyISAM.
This is the base patch for the task.
Diffstat (limited to 'storage/myisam/mi_close.c')
-rw-r--r--storage/myisam/mi_close.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/myisam/mi_close.c b/storage/myisam/mi_close.c
index fbd24237286..a8d678494f5 100644
--- a/storage/myisam/mi_close.c
+++ b/storage/myisam/mi_close.c
@@ -64,6 +64,7 @@ int mi_close(register MI_INFO *info)
if (share->kfile >= 0) abort(););
if (share->kfile >= 0 &&
flush_key_blocks(share->key_cache, share->kfile,
+ &share->dirty_part_map,
((share->temporary || share->deleting) ?
FLUSH_IGNORE_CHANGED :
FLUSH_RELEASE)))