diff options
author | bell@sanja.is.com.ua <> | 2003-03-02 21:39:03 +0200 |
---|---|---|
committer | bell@sanja.is.com.ua <> | 2003-03-02 21:39:03 +0200 |
commit | b2f27a155c5eb1ebf8a74aae5d602ef2308890ac (patch) | |
tree | ec81cf25e43bd59edb6884368afd018c075a766e /sql/sql_cache.h | |
parent | b381cb042364dcb6cb475ebc9198329c6db59f3e (diff) | |
download | mariadb-git-b2f27a155c5eb1ebf8a74aae5d602ef2308890ac.tar.gz |
made variable query_cache_min_res_unit from QUERY_CACHE_MIN_RESULT_DATA_SIZE (SCRUM)
Diffstat (limited to 'sql/sql_cache.h')
-rw-r--r-- | sql/sql_cache.h | 3 |
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); |