Commit b898022a authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Fix compile error on Unixes

 my_rwlock_destroy=>rwlock_destroy
parent 5f267b47
...@@ -2260,7 +2260,7 @@ void Query_cache::free_cache() ...@@ -2260,7 +2260,7 @@ void Query_cache::free_cache()
do do
{ {
Query_cache_query *query= block->query(); Query_cache_query *query= block->query();
my_rwlock_destroy(&query->lock); rwlock_destroy(&query->lock);
block= block->next; block= block->next;
} while (block != queries_blocks); } while (block != queries_blocks);
} }
......
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