summaryrefslogtreecommitdiff
path: root/sql/sql_cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_cache.h')
-rw-r--r--sql/sql_cache.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_cache.h b/sql/sql_cache.h
index b15df28f54b..68bd3d48ff5 100644
--- a/sql/sql_cache.h
+++ b/sql/sql_cache.h
@@ -345,7 +345,10 @@ protected:
/* resize query cache (return real query size, 0 if disabled) */
ulong resize(ulong query_cache_size);
+ /* set limit on result size */
inline void result_size_limit(ulong limit){query_cache_limit=limit;}
+ /* set minimal result data allocation unit size */
+ ulong set_min_res_unit(ulong size);
/* register query in cache */
void store_query(THD *thd, TABLE_LIST *used_tables);