diff options
author | Michael Widenius <monty@askmonty.org> | 2012-06-27 17:22:23 +0300 |
---|---|---|
committer | Michael Widenius <monty@askmonty.org> | 2012-06-27 17:22:23 +0300 |
commit | aa67a198e8a29f2fdae84846cc1d8e74c2d47a83 (patch) | |
tree | 47719240f2509a3fa373f54852b54d552ac6e844 /include/keycache.h | |
parent | 9ebda8764d2e94096924c0a0181f5773d836114a (diff) | |
parent | 072097174c8b91299fe74a3cd7c5248e6e3cfc57 (diff) | |
download | mariadb-git-aa67a198e8a29f2fdae84846cc1d8e74c2d47a83.tar.gz |
automatic merge with 5.5
Diffstat (limited to 'include/keycache.h')
-rw-r--r-- | include/keycache.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/keycache.h b/include/keycache.h index da6624725e7..8fa9bf1cd18 100644 --- a/include/keycache.h +++ b/include/keycache.h @@ -148,9 +148,10 @@ typedef struct st_key_cache ulonglong param_partitions; /* number of the key cache partitions */ my_bool key_cache_inited; /* <=> key cache has been created */ my_bool can_be_used; /* usage of cache for read/write is allowed */ - my_bool in_init; /* Set to 1 in MySQL during init/resize */ + my_bool in_init; /* set to 1 in MySQL during init/resize */ uint partitions; /* actual number of partitions */ size_t key_cache_mem_size; /* specified size of the cache memory */ + pthread_mutex_t op_lock; /* to serialize operations like 'resize' */ } KEY_CACHE; |