mirror of
https://github.com/MariaDB/server.git
synced 2025-11-12 10:22:39 +03:00
References lp:1034621 - Merge up to mysql-5.5.25 level
merged codership-mysql/5.5 revisions: bzr diff -r3759..3767 merged codership-mysql/5.5 revisions: bzr diff -r3768..3771
This commit is contained in:
@@ -1694,6 +1694,8 @@ public:
|
||||
virtual ~handler_add_index() {}
|
||||
};
|
||||
|
||||
class Query_cache;
|
||||
struct Query_cache_block_table;
|
||||
/**
|
||||
The handler class is the interface for dynamically loadable
|
||||
storage engines. Do not add ifdefs and take care when adding or
|
||||
@@ -2527,6 +2529,46 @@ public:
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/*
|
||||
Count tables invisible from all tables list on which current one built
|
||||
(like myisammrg and partitioned tables)
|
||||
|
||||
tables_type mask for the tables should be added herdde
|
||||
|
||||
returns number of such tables
|
||||
*/
|
||||
|
||||
virtual uint count_query_cache_dependant_tables(uint8 *tables_type
|
||||
__attribute__((unused)))
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
register tables invisible from all tables list on which current one built
|
||||
(like myisammrg and partitioned tables).
|
||||
|
||||
@note they should be counted by method above
|
||||
|
||||
cache Query cache pointer
|
||||
block Query cache block to write the table
|
||||
n Number of the table
|
||||
|
||||
@retval FALSE - OK
|
||||
@retval TRUE - Error
|
||||
*/
|
||||
|
||||
virtual my_bool
|
||||
register_query_cache_dependant_tables(THD *thd
|
||||
__attribute__((unused)),
|
||||
Query_cache *cache
|
||||
__attribute__((unused)),
|
||||
Query_cache_block_table **block
|
||||
__attribute__((unused)),
|
||||
uint *n __attribute__((unused)))
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/*
|
||||
Check if the primary key (if there is one) is a clustered and a
|
||||
|
||||
Reference in New Issue
Block a user