MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Query_cache_block Struct Reference
Collaboration diagram for Query_cache_block:

Public Types

enum  block_type {
  FREE, QUERY, RESULT, RES_CONT,
  RES_BEG, RES_INCOMPLETE, TABLE, INCOMPLETE
}

Public Member Functions

my_bool is_free (void)
void init (ulong length)
void destroy ()
uint headers_len ()
uchar * data (void)
Query_cache_queryquery ()
Query_cache_tabletable ()
Query_cache_resultresult ()
Query_cache_block_tabletable (TABLE_COUNTER_TYPE n)

Public Attributes

ulong length
ulong used
Query_cache_blockpnext
Query_cache_blockpprev
Query_cache_blocknext
Query_cache_blockprev
block_type type
TABLE_COUNTER_TYPE n_tables

Detailed Description

Definition at line 124 of file sql_cache.h.


The documentation for this struct was generated from the following file: