summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicențiu Ciorbaru <vicentiu@mariadb.org>2018-01-29 21:51:18 +0200
committerVicențiu Ciorbaru <vicentiu@mariadb.org>2018-01-29 21:51:18 +0200
commit59ad1164d946a2876f89c4a19a1c879c92787bb7 (patch)
tree87fd0b9b4eeb8f8c660ba6f35ed957073468f9fa
parent7e0d8389f948e673f2fa3226a30fa1cde9b4cac4 (diff)
downloadmariadb-git-10.1-merge.tar.gz
Temporary fix for query_cache disable on init.10.1-merge
-rw-r--r--sql/sql_cache.cc1
1 files changed, 1 insertions, 0 deletions
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;
}