mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
made variable query_cache_min_res_unit from QUERY_CACHE_MIN_RESULT_DATA_SIZE (SCRUM)
mysql-test/r/query_cache.result: test of query_cache_min_res_unit mysql-test/t/query_cache.test: test of query_cache_min_res_unit sql/mysql_priv.h: made variable query_cache_min_res_unit from QUERY_CACHE_MIN_RESULT_DATA_SIZE sql/mysqld.cc: made variable query_cache_min_res_unit from QUERY_CACHE_MIN_RESULT_DATA_SIZE sql/set_var.cc: made variable query_cache_min_res_unit from QUERY_CACHE_MIN_RESULT_DATA_SIZE sql/sql_cache.cc: method for parameter changing sql/sql_cache.h: method for parameter changing
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user