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

Public Types

enum  CopyStatus {
  CS_IDLE, CS_SR_PHASE1_READ_PAGES, CS_SR_PHASE2_READ_TABLE, CS_SR_PHASE3_COPY_TABLE,
  CS_REMOVE_NODE, CS_LCP_READ_TABLE, CS_COPY_TAB_REQ, CS_COPY_NODE_STATE,
  CS_ADD_TABLE_MASTER, CS_ADD_TABLE_SLAVE, CS_INVALIDATE_NODE_LCP, CS_ALTER_TABLE,
  CS_COPY_TO_SAVE, CS_GET_TABINFO
}
enum  UpdateState {
  US_IDLE, US_LOCAL_CHECKPOINT, US_REMOVE_NODE, US_COPY_TAB_REQ,
  US_ADD_TABLE_MASTER, US_ADD_TABLE_SLAVE, US_INVALIDATE_NODE_LCP, US_CALLBACK
}
enum  TabLcpStatus { TLS_ACTIVE = 1, TLS_WRITING_TO_FILE = 2, TLS_COMPLETED = 3 }
enum  TabStatus { TS_IDLE = 0, TS_ACTIVE = 1, TS_CREATING = 2, TS_DROPPING = 3 }
enum  Method {
  LINEAR_HASH = 0, NOTDEFINED = 1, NORMAL_HASH = 2, USER_DEFINED = 3,
  HASH_MAP = 4
}
enum  Storage { ST_NOLOGGING = 0, ST_NORMAL = 1, ST_TEMPORARY = 2 }

Public Attributes

NdbSeqLock m_lock
CopyStatus tabCopyStatus
UpdateState tabUpdateState
TabLcpStatus tabLcpStatus
TabStatus tabStatus
Method method
Storage tabStorage
Uint32 pageRef [32]
Uint32 startFid [MAX_NDB_NODES *MAX_FRAG_PER_NODE/NO_OF_FRAGS_PER_CHUNK]
Uint32 tabFile [2]
Uint32 connectrec
union {
   Uint32   hashpointer
   Uint32   m_new_map_ptr_i
}; 
union {
   Uint32   mask
   Uint32   m_map_ptr_i
}; 
Uint32 noOfWords
Uint32 schemaVersion
Uint32 tabRemoveNode
Uint32 totalfragments
Uint32 noOfFragChunks
Uint32 m_scan_count [2]
Uint32 m_scan_reorg_flag
Uint32 tabErrorCode
struct {
   Uint32   tabUserRef
   Uint32   tabUserPtr
m_dropTab
Uint8 kvalue
Uint8 noOfBackups
Uint8 noPages
Uint16 tableType
Uint16 primaryTableId
Uint32 schemaTransId

Detailed Description

Definition at line 445 of file Dbdih.hpp.

Member Enumeration Documentation

State for copying table description into pages

Definition at line 459 of file Dbdih.hpp.

State for copying pages to disk

Definition at line 478 of file Dbdih.hpp.

Member Data Documentation

NdbSeqLock Dbdih::TabRecord::m_lock

rw-lock that protects multiple parallel DIGETNODES (readers) from updates to fragmenation changes (e.g CREATE_FRAGREQ)... search for DIH_TAB_WRITE_LOCK

Definition at line 454 of file Dbdih.hpp.


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