diff options
Diffstat (limited to 'sql/sql_cache.cc')
-rw-r--r-- | sql/sql_cache.cc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sql/sql_cache.cc b/sql/sql_cache.cc index 7f3bb97c7d6..387bca35d08 100644 --- a/sql/sql_cache.cc +++ b/sql/sql_cache.cc @@ -1737,18 +1737,6 @@ void Query_cache::invalidate_table(TABLE *table) invalidate_table(table_block); } -void Query_cache::invalidate_table_in_db(Query_cache_block *table_block, - char *db) -{ - /* - table key consist of data_base_name + '\0' + table_name +'\0'... - => we may use strcmp to compare database names. - */ - if (strcmp(db, (char*)(table_block->table()->db())) == 0) - invalidate_table(table_block); -} - - void Query_cache::invalidate_table(Query_cache_block *table_block) { Query_cache_block_table *list_root = table_block->table(0); |