MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Tsman::Datafile Struct Reference

Public Types

enum  FileState { FS_CREATING = 0x1, FS_ONLINE = 0x2, FS_DROPPING = 0x4 }

Public Member Functions

 Datafile (const struct CreateFileImplReq *)
Uint32 hashValue () const
bool equal (const Datafile &rec) const

Public Attributes

Uint32 m_magic
Uint32 m_file_no
Uint32 m_file_id
Uint32 m_fd
Uint32 m_tablespace_ptr_i
Uint32 m_extent_size
Uint16 m_state
Uint16 m_ref_count
union {
   struct {
      Uint32   m_first_free_extent
      Uint32   m_lcp_free_extent_head
      Uint32   m_lcp_free_extent_tail
      Uint32   m_offset_data_pages
      Uint32   m_data_pages
      Uint32   m_used_extent_cnt
      Uint32   m_extent_headers_per_extent_page
   }   m_online
   struct {
      Uint32   m_senderData
      Uint32   m_senderRef
      Uint32   m_data_pages
      Uint32   m_extent_pages
      Uint32   m_requestInfo
      union {
         Uint32   m_page_ptr_i
         Uint32   m_loading_extent_page
      } 
   }   m_create
}; 
Uint32 nextHash
Uint32 prevHash
Uint32 nextList
union {
   Uint32   prevList
   Uint32   nextPool
}; 

Detailed Description

Definition at line 80 of file tsman.hpp.

Member Data Documentation

Uint32 Tsman::Datafile::m_magic

m_file_no

  • Unique among datafiles on this node
  • Part of local key
  • Set by pgman

Definition at line 91 of file tsman.hpp.


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