summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2004-03-30 18:47:04 +0300
committerbell@sanja.is.com.ua <>2004-03-30 18:47:04 +0300
commit54d5f4ae8f9d49ab4f023be652346d169b4f34d4 (patch)
tree971da6022f17a344f12565ab27b094498a6d1140
parent4bc6b551f83844f01a2284efcf5cc982a9c959b3 (diff)
downloadmariadb-git-54d5f4ae8f9d49ab4f023be652346d169b4f34d4.tar.gz
query cache statistic fixed
-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 66422a5ed3a..4e111df9263 100644
--- a/sql/sql_cache.cc
+++ b/sql/sql_cache.cc
@@ -795,6 +795,7 @@ void Query_cache::store_query(THD *thd, TABLE_LIST *tables_used)
if (ask_handler_allowance(thd, tables_used))
{
+ refused++;
STRUCT_UNLOCK(&structure_guard_mutex);
DBUG_VOID_RETURN;
}