summaryrefslogtreecommitdiff
path: root/sql/sql_cache.h
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2005-01-27 14:21:37 +0200
committerunknown <bell@sanja.is.com.ua>2005-01-27 14:21:37 +0200
commit2d717b5d944b25fd5cbc45d581288e5c06e22b5e (patch)
tree98c82a65c42bd0e18251276952972cae57487b6a /sql/sql_cache.h
parentfdb6225390afdbfe7c6ede76b736e1b1ba9f419d (diff)
downloadmariadb-git-2d717b5d944b25fd5cbc45d581288e5c06e22b5e.tar.gz
fixed QC invaluidation and processing with view (BUG#8050) (BUG#8054)
mysql-test/r/view_query_cache.result: Fixed test to be environment independ Invalidation of view checked Join view with QC checked mysql-test/t/view_query_cache.test: Fixed test to be environment independ Invalidation of view checked Join view with QC checked sql/sql_cache.cc: support of VIEW added to QC sql/sql_cache.h: support of VIEW added to QC sql/sql_view.cc: invalidation of QC added to altering/droping VIEW commands
Diffstat (limited to 'sql/sql_cache.h')
-rw-r--r--sql/sql_cache.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/sql_cache.h b/sql/sql_cache.h
index 93d89aeae4f..704b36eea11 100644
--- a/sql/sql_cache.h
+++ b/sql/sql_cache.h
@@ -277,6 +277,10 @@ protected:
void invalidate_table(TABLE *table);
void invalidate_table(byte *key, uint32 key_length);
void invalidate_table(Query_cache_block *table_block);
+ TABLE_COUNTER_TYPE
+ register_tables_from_list(TABLE_LIST *tables_used,
+ TABLE_COUNTER_TYPE counter,
+ Query_cache_block_table *block_table);
my_bool register_all_tables(Query_cache_block *block,
TABLE_LIST *tables_used,
TABLE_COUNTER_TYPE tables);