1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

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
This commit is contained in:
unknown
2005-01-27 14:21:37 +02:00
parent fdb6225390
commit 2d717b5d94
5 changed files with 220 additions and 74 deletions

View File

@ -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);