MCPcopy Create free account
hub / github.com/MariaDB/server / invalidate_table_internal

Method invalidate_table_internal

sql/sql_cache.cc:3330–3340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3328*/
3329
3330void
3331Query_cache::invalidate_table_internal(uchar *key, size_t key_length)
3332{
3333 Query_cache_block *table_block=
3334 (Query_cache_block*)my_hash_search(&tables, key, key_length);
3335 if (table_block)
3336 {
3337 Query_cache_block_table *list_root= table_block->table(0);
3338 invalidate_query_block_list(list_root);
3339 }
3340}
3341
3342/**
3343 Invalidate a linked list of query cache blocks.

Callers

nothing calls this directly

Calls 2

my_hash_searchFunction · 0.85
tableMethod · 0.45

Tested by

no test coverage detected