Commit f9d091d1 authored by bell@sanja.is.com.ua's avatar bell@sanja.is.com.ua

Typo fixing

parent 89bad72c
...@@ -884,7 +884,7 @@ Query_cache::send_result_to_client(THD *thd, char *sql, uint query_length) ...@@ -884,7 +884,7 @@ Query_cache::send_result_to_client(THD *thd, char *sql, uint query_length)
/* Check that we haven't forgot to reset the query cache variables */ /* Check that we haven't forgot to reset the query cache variables */
DBUG_ASSERT(thd->net.query_cache_query == 0); DBUG_ASSERT(thd->net.query_cache_query == 0);
if (thd->temporary_tables != 0 ) if (!thd->safe_to_cache_query)
{ {
DBUG_PRINT("qcache", ("SELECT is non-cacheable")); DBUG_PRINT("qcache", ("SELECT is non-cacheable"));
goto err; goto err;
......
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