diff options
author | igor@rurik.mysql.com <> | 2003-11-25 22:20:31 -0800 |
---|---|---|
committer | igor@rurik.mysql.com <> | 2003-11-25 22:20:31 -0800 |
commit | b99377f3d2966d4861ac7ea39a22f09a257f6287 (patch) | |
tree | ba85e6742661051b9bacb071ef2ddd8de9d12dd4 /myisam/mi_keycache.c | |
parent | e54f7400ab05dd87e99c2488a8e86f3e4aa21022 (diff) | |
download | mariadb-git-b99377f3d2966d4861ac7ea39a22f09a257f6287.tar.gz |
mi_keycache.c:
Removed FLUSH_REMOVE flag (replaced it by FLUSH_RELEASE).
my_sys.h:
Removed FLUSH_REMOVE flag.
Diffstat (limited to 'myisam/mi_keycache.c')
-rw-r--r-- | myisam/mi_keycache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/myisam/mi_keycache.c b/myisam/mi_keycache.c index fc51f331d76..99a2fd6db15 100644 --- a/myisam/mi_keycache.c +++ b/myisam/mi_keycache.c @@ -76,7 +76,7 @@ int mi_assign_to_key_cache(MI_INFO *info, in the old key cache. */ - if (flush_key_blocks(share->key_cache, share->kfile, FLUSH_REMOVE)) + if (flush_key_blocks(share->key_cache, share->kfile, FLUSH_RELEASE)) { error= my_errno; mi_mark_crashed(info); /* Mark that table must be checked */ @@ -90,7 +90,7 @@ int mi_assign_to_key_cache(MI_INFO *info, (This can never fail as there is never any not written data in the new key cache) */ - (void) flush_key_blocks(key_cache, share->kfile, FLUSH_REMOVE); + (void) flush_key_blocks(key_cache, share->kfile, FLUSH_RELEASE); /* ensure that setting the key cache and changing the multi_key_cache |