summaryrefslogtreecommitdiff
path: root/sql/sql_cache.h
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2003-08-12 23:45:04 +0300
committerunknown <bell@sanja.is.com.ua>2003-08-12 23:45:04 +0300
commitff9f600f7d777e1e6fe9160109d3a5b37752832a (patch)
tree9cab30ce5d275a228192d659d1cdc373545ea825 /sql/sql_cache.h
parent01450dbb79540c01e6b0381ce0760418dcdfc133 (diff)
downloadmariadb-git-ff9f600f7d777e1e6fe9160109d3a5b37752832a.tar.gz
fixed query cache intercommunication with innodb engine
mysql-test/r/innodb_cache.result: new results
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 eea542e9d06..af23b97aade 100644
--- a/sql/sql_cache.h
+++ b/sql/sql_cache.h
@@ -345,6 +345,8 @@ protected:
TABLE_COUNTER_TYPE is_cacheable(THD *thd, uint32 query_len, char *query,
LEX *lex, TABLE_LIST *tables_used,
uint8 *tables_type);
+
+ static my_bool ask_handler_allowance(THD *thd, TABLE_LIST *tables_used);
public:
Query_cache(ulong query_cache_limit = ULONG_MAX,