From f9d091d16febab22e1b387f413066aee2d814587 Mon Sep 17 00:00:00 2001 From: "bell@sanja.is.com.ua" <> Date: Tue, 8 Jan 2002 08:48:05 +0200 Subject: [PATCH] Typo fixing --- sql/sql_cache.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;