Drizzled Public API Documentation

trx_i_s_cache_struct Struct Reference

List of all members.

Public Attributes

rw_lock_t rw_lock
ullint last_read
mutex_t last_read_mutex
i_s_table_cache_t innodb_trx
i_s_table_cache_t innodb_locks
i_s_table_cache_t innodb_lock_waits
hash_table_tlocks_hash
ha_storage_tstorage
ulint mem_allocd
ibool is_truncated

Detailed Description

This structure describes the intermediate buffer

Definition at line 157 of file trx0i_s.cc.


Member Data Documentation

i_s_table_cache_t trx_i_s_cache_struct::innodb_lock_waits

innodb_lock_waits table

Definition at line 169 of file trx0i_s.cc.

Referenced by trx_i_s_cache_free(), and trx_i_s_cache_init().

i_s_table_cache_t trx_i_s_cache_struct::innodb_locks

innodb_locks table

Definition at line 168 of file trx0i_s.cc.

Referenced by trx_i_s_cache_free(), and trx_i_s_cache_init().

i_s_table_cache_t trx_i_s_cache_struct::innodb_trx

innodb_trx table

Definition at line 167 of file trx0i_s.cc.

Referenced by trx_i_s_cache_free(), and trx_i_s_cache_init().

ibool trx_i_s_cache_struct::is_truncated

this is TRUE if the memory limit was hit and thus the data in the cache is truncated

Definition at line 185 of file trx0i_s.cc.

Referenced by trx_i_s_cache_init(), and trx_i_s_cache_is_truncated().

ullint trx_i_s_cache_struct::last_read

last time the cache was read; measured in microseconds since epoch

Definition at line 160 of file trx0i_s.cc.

Referenced by trx_i_s_cache_end_read(), and trx_i_s_cache_init().

mutex_t trx_i_s_cache_struct::last_read_mutex

mutex protecting the last_read member - it is updated inside a shared lock of the rw_lock member

Definition at line 163 of file trx0i_s.cc.

Referenced by trx_i_s_cache_end_read(), and trx_i_s_cache_init().

hash_table_t* trx_i_s_cache_struct::locks_hash

hash table used to eliminate duplicate entries in the innodb_locks table

Definition at line 172 of file trx0i_s.cc.

Referenced by trx_i_s_cache_free(), and trx_i_s_cache_init().

ulint trx_i_s_cache_struct::mem_allocd

the amount of memory allocated with mem_alloc*()

Definition at line 183 of file trx0i_s.cc.

Referenced by trx_i_s_cache_init().

rw_lock_t trx_i_s_cache_struct::rw_lock

read-write lock protecting the rest of this structure

Definition at line 158 of file trx0i_s.cc.

Referenced by trx_i_s_cache_end_read(), trx_i_s_cache_end_write(), trx_i_s_cache_init(), trx_i_s_cache_start_read(), and trx_i_s_cache_start_write().

ha_storage_t* trx_i_s_cache_struct::storage

storage for external volatile data that can possibly not be available later, when we release the kernel mutex

Definition at line 179 of file trx0i_s.cc.

Referenced by trx_i_s_cache_free(), and trx_i_s_cache_init().


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