134
134
void mi_change_key_cache(KEY_CACHE *old_key_cache,
135
135
KEY_CACHE *new_key_cache)
140
138
Lock list to ensure that no one can close the table while we manipulate it
142
140
pthread_mutex_lock(&THR_LOCK_myisam);
146
145
MYISAM_SHARE *share= info->s;
147
146
if (share->key_cache == old_key_cache)
148
147
mi_assign_to_key_cache(info, UINT64_MAX, new_key_cache);