MySQL 5.6.14 Source Code Document
|
#include <sql_cache.h>
Public Member Functions | |
Query_cache_block * | block () |
Public Attributes | |
TABLE_COUNTER_TYPE | n |
Query_cache_block_table * | next |
Query_cache_block_table * | prev |
Query_cache_table * | parent |
This class represents a node in the linked chain of queries belonging to one table.
Definition at line 93 of file sql_cache.h.
|
inline |
A method to calculate the address of the query cache block owning this node. The purpose of this calculation is to make it easier to move the query cache block without having to modify all the pointer addresses.
TABLE_COUNTER_TYPE Query_cache_block_table::n |
This node holds a position in a static table list belonging to the associated query (base 0).
Definition at line 101 of file sql_cache.h.
Query_cache_block_table* Query_cache_block_table::next |
Pointers to the next and previous node, linking all queries with a common table.
Definition at line 107 of file sql_cache.h.
Query_cache_table* Query_cache_block_table::parent |
A pointer to the table-type block which all linked queries has in common.
Definition at line 113 of file sql_cache.h.