summaryrefslogtreecommitdiff
path: root/sql/sql_cache.cc
diff options
context:
space:
mode:
authorserg@serg.mylan <>2004-06-23 12:36:07 +0200
committerserg@serg.mylan <>2004-06-23 12:36:07 +0200
commitc03addab79da7b33521da252fdee71851dd83088 (patch)
treef131301a9d0f77a68268ec331013df866919066f /sql/sql_cache.cc
parent60404d2c374320831c54cf2374725b2f43a52298 (diff)
parent3f1c4ba745573eefb8739a9d16199ec552f190de (diff)
downloadmariadb-git-c03addab79da7b33521da252fdee71851dd83088.tar.gz
merged
Diffstat (limited to 'sql/sql_cache.cc')
-rw-r--r--sql/sql_cache.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/sql/sql_cache.cc b/sql/sql_cache.cc
index 5c6215e6fb9..5fe21d79aa0 100644
--- a/sql/sql_cache.cc
+++ b/sql/sql_cache.cc
@@ -1044,9 +1044,9 @@ Query_cache::send_result_to_client(THD *thd, char *sql, uint query_length)
goto err_unlock; // Parse query
}
#endif /*!NO_EMBEDDED_ACCESS_CHECKS*/
- if (check_tables && !handler::caching_allowed(thd, table->db(),
- table->key_length(),
- table->type()))
+ if (check_tables && !ha_caching_allowed(thd, table->db(),
+ table->key_length(),
+ table->type()))
{
DBUG_PRINT("qcache", ("Handler does not allow caching for %s.%s",
table_list.db, table_list.alias));
@@ -2687,9 +2687,9 @@ my_bool Query_cache::ask_handler_allowance(THD *thd,
for (; tables_used; tables_used= tables_used->next)
{
TABLE *table= tables_used->table;
- if (!handler::caching_allowed(thd, table->table_cache_key,
- table->key_length,
- table->file->table_cache_type()))
+ if (!ha_caching_allowed(thd, table->table_cache_key,
+ table->key_length,
+ table->file->table_cache_type()))
{
DBUG_PRINT("qcache", ("Handler does not allow caching for %s.%s",
tables_used->db, tables_used->alias));