Commit 89e9a2e2 authored by unknown's avatar unknown

bug fixed: when inited=0, can_be_used should be 0 too. (BUG#4901)


mysys/mf_keycache.c:
  bug fixed: when inited=0, can_be_used should be 0 too. (BUG#4901)
  end spaces removed (no merge problems as this file doesn't change much)
parent 8746d743
...@@ -625,7 +625,7 @@ writes: %ld r_requests: %ld reads: %ld", ...@@ -625,7 +625,7 @@ writes: %ld r_requests: %ld reads: %ld",
if (cleanup) if (cleanup)
{ {
pthread_mutex_destroy(&keycache->cache_lock); pthread_mutex_destroy(&keycache->cache_lock);
keycache->key_cache_inited= 0; keycache->key_cache_inited= keycache->can_be_used= 0;
KEYCACHE_DEBUG_CLOSE; KEYCACHE_DEBUG_CLOSE;
} }
DBUG_VOID_RETURN; DBUG_VOID_RETURN;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment