summaryrefslogtreecommitdiff
path: root/sql/sql_cache.cc
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2002-01-08 08:48:05 +0200
committerunknown <bell@sanja.is.com.ua>2002-01-08 08:48:05 +0200
commit8ce7217b22af93f700d46237e69cfc11c0cc5726 (patch)
tree39d768ec3e080f54755bcaa283ef7d8792ce8fe3 /sql/sql_cache.cc
parentc77ee71f934e0b8eacad154642ee4a884b132c0f (diff)
downloadmariadb-git-8ce7217b22af93f700d46237e69cfc11c0cc5726.tar.gz
Typo fixing
Diffstat (limited to 'sql/sql_cache.cc')
-rw-r--r--sql/sql_cache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_cache.cc b/sql/sql_cache.cc
index 37f2a5bc294..391fdc1abf4 100644
--- a/sql/sql_cache.cc
+++ b/sql/sql_cache.cc
@@ -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 */
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"));
goto err;