diff --git a/sql/sql_select.cc b/sql/sql_select.cc index b847907a1a2..f7a8bce4616 100644 --- a/sql/sql_select.cc +++ b/sql/sql_select.cc @@ -9385,7 +9385,7 @@ void st_select_lex::print(THD *thd, String *str) if (!thd->lex->safe_to_cache_query) str->append("sql_no_cache ", 13); if (options & OPTION_TO_QUERY_CACHE) - str->append("cache ", 6); + str->append("sql_cache ", 10); //Item List bool first= 1;