summaryrefslogtreecommitdiff
path: root/sql/sql_cache.h
diff options
context:
space:
mode:
authorKristofer Pettersson <kpettersson@mysql.com>2008-06-19 02:40:35 +0200
committerKristofer Pettersson <kpettersson@mysql.com>2008-06-19 02:40:35 +0200
commit71be65dd114d0a2bd914bcdb1879015fd76ba2b4 (patch)
tree9f9ed6712c8a4a8a17d912a0597167331a65737b /sql/sql_cache.h
parent22bd6d9de6b17061189c6730879fcc8fbc8d87b5 (diff)
downloadmariadb-git-71be65dd114d0a2bd914bcdb1879015fd76ba2b4.tar.gz
Bug#30087 Set query_cache_size, if the value is too small, get a unclear warning
This bugs clarifies a warning message issued when the query cache data size becomes smaller than the minium allowed size.
Diffstat (limited to 'sql/sql_cache.h')
-rw-r--r--sql/sql_cache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_cache.h b/sql/sql_cache.h
index 34fc3a5c8d5..c5d89780af3 100644
--- a/sql/sql_cache.h
+++ b/sql/sql_cache.h
@@ -245,6 +245,8 @@ private:
void free_query_internal(Query_cache_block *point);
+ ulong get_minimal_size_limit();
+
protected:
/*
The following mutex is locked when searching or changing global