1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Query cache: removed unused THD from few functions

A few query cache functions don't use THD pointer
so its removed from their interface.
This commit is contained in:
Daniel Black
2022-11-25 17:28:09 +11:00
parent 7141c26094
commit 7919b14387
2 changed files with 9 additions and 12 deletions

View File

@ -319,7 +319,7 @@ private:
Cache_staus m_cache_status;
void free_query_internal(Query_cache_block *point);
void invalidate_table_internal(THD *thd, uchar *key, size_t key_length);
void invalidate_table_internal(uchar *key, size_t key_length);
protected:
/*
@ -375,8 +375,7 @@ protected:
void invalidate_table(THD *thd, TABLE *table);
void invalidate_table(THD *thd, uchar *key, size_t key_length);
void invalidate_table(THD *thd, Query_cache_block *table_block);
void invalidate_query_block_list(THD *thd,
Query_cache_block_table *list_root);
void invalidate_query_block_list(Query_cache_block_table *list_root);
TABLE_COUNTER_TYPE
register_tables_from_list(THD *thd, TABLE_LIST *tables_used,