From 59ad1164d946a2876f89c4a19a1c879c92787bb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vicen=C8=9Biu=20Ciorbaru?= Date: Mon, 29 Jan 2018 21:51:18 +0200 Subject: Temporary fix for query_cache disable on init. --- sql/sql_cache.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/sql/sql_cache.cc b/sql/sql_cache.cc index b60815169a6..df6c7c35e5a 100644 --- a/sql/sql_cache.cc +++ b/sql/sql_cache.cc @@ -2547,6 +2547,7 @@ void Query_cache::init() */ if (global_system_variables.query_cache_type == 0) { + m_cache_status= DISABLE_REQUEST; free_cache(); m_cache_status= DISABLED; } -- cgit v1.2.1