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

Classes

struct  Position

Public Types

enum  Logfile_group_state {
  LG_ONLINE = 0x001, LG_SORTING = 0x002, LG_SEARCHING = 0x004, LG_EXEC_THREAD = 0x008,
  LG_READ_THREAD = 0x010, LG_FORCE_SYNC_THREAD = 0x020, LG_SYNC_WAITERS_THREAD = 0x040, LG_CUT_LOG_THREAD = 0x080,
  LG_WAITERS_THREAD = 0x100, LG_FLUSH_THREAD = 0x200, LG_DROPPING = 0x400, LG_STARTING = 0x800
}

Public Member Functions

 Logfile_group (const struct CreateFilegroupImplReq *)
Uint32 hashValue () const
bool equal (const Logfile_group &rec) const

Public Attributes

Uint32 m_magic
union {
   Uint32   key
   Uint32   m_logfile_group_id
}; 
Uint32 m_version
Uint16 m_state
Uint16 m_outstanding_fs
Uint32 m_next_reply_ptr_i
Uint64 m_last_lsn
Uint64 m_last_sync_req_lsn
Uint64 m_last_synced_lsn
Uint64 m_max_sync_req_lsn
union {
   Uint64   m_last_read_lsn
   Uint64   m_last_lcp_lsn
}; 
Log_waiter_list::Head m_log_sync_waiters
Buffer_idx m_tail_pos [3]
Buffer_idx m_file_pos [2]
Uint64 m_free_file_words
Undofile_list::Head m_files
Undofile_list::Head m_meta_files
Uint32 m_total_buffer_words
Uint32 m_free_buffer_words
Uint32 m_callback_buffer_words
Log_waiter_list::Head m_log_buffer_waiters
Page_map::Head m_buffer_pages
struct
Lgman::Logfile_group::Position 
m_pos [2]
Uint32 nextHash
Uint32 prevHash
Uint32 nextList
union {
   Uint32   prevList
   Uint32   nextPool
}; 

Static Public Attributes

static const Uint32 LG_THREAD_MASK

Detailed Description

Definition at line 165 of file lgman.hpp.

Member Data Documentation

const Uint32 Lgman::Logfile_group::LG_THREAD_MASK
static
Initial value:
Logfile_group::LG_FORCE_SYNC_THREAD |
Logfile_group::LG_SYNC_WAITERS_THREAD |
Logfile_group::LG_CUT_LOG_THREAD |
Logfile_group::LG_WAITERS_THREAD |
Logfile_group::LG_FLUSH_THREAD

Definition at line 196 of file lgman.hpp.


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