diff options
author | unknown <igor@rurik.mysql.com> | 2003-11-25 22:20:31 -0800 |
---|---|---|
committer | unknown <igor@rurik.mysql.com> | 2003-11-25 22:20:31 -0800 |
commit | ceb0ce5002edf0824ce01f156cd8343a047e6b7a (patch) | |
tree | ba85e6742661051b9bacb071ef2ddd8de9d12dd4 | |
parent | 345a84ca25f726c2757491876ef6ad4bb3753422 (diff) | |
download | mariadb-git-ceb0ce5002edf0824ce01f156cd8343a047e6b7a.tar.gz |
mi_keycache.c:
Removed FLUSH_REMOVE flag (replaced it by FLUSH_RELEASE).
my_sys.h:
Removed FLUSH_REMOVE flag.
include/my_sys.h:
Removed FLUSH_REMOVE flag.
myisam/mi_keycache.c:
Removed FLUSH_REMOVE flag (replaced it by FLUSH_RELEASE).
-rw-r--r-- | include/my_sys.h | 3 | ||||
-rw-r--r-- | myisam/mi_keycache.c | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/include/my_sys.h b/include/my_sys.h index 604eaf34fb7..59d5767d204 100644 --- a/include/my_sys.h +++ b/include/my_sys.h @@ -265,8 +265,7 @@ enum cache_type enum flush_type { - FLUSH_KEEP, FLUSH_RELEASE, FLUSH_IGNORE_CHANGED, FLUSH_FORCE_WRITE, - FLUSH_REMOVE + FLUSH_KEEP, FLUSH_RELEASE, FLUSH_IGNORE_CHANGED, FLUSH_FORCE_WRITE }; typedef struct st_record_cache /* Used when cacheing records */ 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 |