summaryrefslogtreecommitdiff
path: root/sql/sql_cache.cc
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2004-03-30 18:47:04 +0300
committerunknown <bell@sanja.is.com.ua>2004-03-30 18:47:04 +0300
commit35a21a9c105c3f241d0cd3c64c3242a7fdcc1fa3 (patch)
tree971da6022f17a344f12565ab27b094498a6d1140 /sql/sql_cache.cc
parentceeaa24d187b228fd6e8b1ac1e667d341155640f (diff)
downloadmariadb-git-35a21a9c105c3f241d0cd3c64c3242a7fdcc1fa3.tar.gz
query cache statistic fixed
Diffstat (limited to 'sql/sql_cache.cc')
-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;
}