My Project
Public Member Functions | Public Attributes
Query_cache_block_table Struct Reference

#include <sql_cache.h>

List of all members.

Public Member Functions

Query_cache_blockblock ()

Public Attributes

TABLE_COUNTER_TYPE n
Query_cache_block_tablenext
Query_cache_block_tableprev
Query_cache_tableparent

Detailed Description

This class represents a node in the linked chain of queries belonging to one table.

Note:
The root of this linked list is not a query-type block, but the table- type block which all queries has in common.

Member Function Documentation

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.


Member Data Documentation

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).

Pointers to the next and previous node, linking all queries with a common table.

A pointer to the table-type block which all linked queries has in common.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines