| MySQL 5.6.14 Source Code Document
    | 
#include <log0recv.h>

| Public Attributes | |
| ib_mutex_t | mutex | 
| ib_mutex_t | writer_mutex | 
| ibool | apply_log_recs | 
| ibool | apply_batch_on | 
| lsn_t | lsn | 
| ulint | last_log_buf_size | 
| byte * | last_block | 
| byte * | last_block_buf_start | 
| byte * | buf | 
| ulint | len | 
| lsn_t | parse_start_lsn | 
| lsn_t | scanned_lsn | 
| ulint | scanned_checkpoint_no | 
| ulint | recovered_offset | 
| lsn_t | recovered_lsn | 
| lsn_t | limit_lsn | 
| ibool | found_corrupt_log | 
| mem_heap_t * | heap | 
| hash_table_t * | addr_hash | 
| ulint | n_addrs | 
Recovery system data structure
Definition at line 371 of file log0recv.h.
| hash_table_t* recv_sys_t::addr_hash | 
hash table of file addresses of pages
Definition at line 431 of file log0recv.h.
| ibool recv_sys_t::apply_batch_on | 
this is TRUE when a log rec application batch is running
Definition at line 386 of file log0recv.h.
| ibool recv_sys_t::apply_log_recs | 
this is TRUE when log rec application to pages is allowed; this flag tells the i/o-handler if it should do log record application
Definition at line 381 of file log0recv.h.
| byte* recv_sys_t::buf | 
buffer for parsing log records
Definition at line 398 of file log0recv.h.
| ibool recv_sys_t::found_corrupt_log | 
this is set to TRUE if we during log scan find a corrupt log block, or a corrupt log record, or there is a log parsing buffer overflow
Definition at line 420 of file log0recv.h.
| mem_heap_t* recv_sys_t::heap | 
memory heap of log records and file addresses
Definition at line 429 of file log0recv.h.
| byte* recv_sys_t::last_block | 
possible incomplete last recovered log block
Definition at line 393 of file log0recv.h.
| byte* recv_sys_t::last_block_buf_start | 
the nonaligned start address of the preceding buffer
Definition at line 396 of file log0recv.h.
| ulint recv_sys_t::last_log_buf_size | 
size of the log buffer when the database last time wrote to the log
Definition at line 390 of file log0recv.h.
| ulint recv_sys_t::len | 
amount of data in buf
Definition at line 399 of file log0recv.h.
| lsn_t recv_sys_t::limit_lsn | 
recovery should be made at most up to this lsn
Definition at line 417 of file log0recv.h.
| lsn_t recv_sys_t::lsn | 
log sequence number
Definition at line 388 of file log0recv.h.
| ib_mutex_t recv_sys_t::mutex | 
mutex protecting the fields apply_log_recs, n_addrs, and the state field in each recv_addr struct
Definition at line 373 of file log0recv.h.
| ulint recv_sys_t::n_addrs | 
number of not processed hashed file addresses in the hash table
Definition at line 432 of file log0recv.h.
| lsn_t recv_sys_t::parse_start_lsn | 
this is the lsn from which we were able to start parsing log records and adding them to the hash table; zero if a suitable start point not found yet
Definition at line 401 of file log0recv.h.
| lsn_t recv_sys_t::recovered_lsn | 
the log records have been parsed up to this lsn
Definition at line 415 of file log0recv.h.
| ulint recv_sys_t::recovered_offset | 
start offset of non-parsed log records in buf
Definition at line 412 of file log0recv.h.
| ulint recv_sys_t::scanned_checkpoint_no | 
the log data has been scanned up to this checkpoint number (lowest 4 bytes)
Definition at line 409 of file log0recv.h.
| lsn_t recv_sys_t::scanned_lsn | 
the log data has been scanned up to this lsn
Definition at line 406 of file log0recv.h.
| ib_mutex_t recv_sys_t::writer_mutex | 
mutex coordinating flushing between recv_writer_thread and the recovery thread.
Definition at line 376 of file log0recv.h.