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

#include <Dbdict.hpp>

Collaboration diagram for Dbdict::TableRecord:

Classes

struct  UpgradeTriggerHandling

Public Types

enum  Bits {
  TR_Logged = 0x1, TR_RowGCI = 0x2, TR_RowChecksum = 0x4, TR_Temporary = 0x8,
  TR_ForceVarPart = 0x10
}
enum  IndexState {
  IS_UNDEFINED = 0, IS_OFFLINE = 1, IS_BUILDING = 2, IS_DROPPING = 3,
  IS_ONLINE = 4, IS_BROKEN = 9
}

Public Member Functions

bool isTable () const
bool isIndex () const
bool isUniqueIndex () const
bool isNonUniqueIndex () const
bool isHashIndex () const
bool isOrderedIndex () const

Public Attributes

Uint32 maxRowsLow
Uint32 maxRowsHigh
Uint32 minRowsLow
Uint32 minRowsHigh
Uint32 tableId
Uint32 m_obj_ptr_i
Uint32 tableVersion
Uint32 hashMapObjectId
Uint32 hashMapVersion
RopeHandle tableName
DictTabInfo::TableType tableType
bool online
Uint32 primaryTableId
DictTabInfo::FragmentType fragmentType
Uint32 gciTableCreated
Uint8 m_extra_row_gci_bits
Uint8 m_extra_row_author_bits
Uint16 m_bits
Uint16 noOfAttributes
Uint16 noOfNullAttr
Uint16 noOfPrimkey
Uint16 tupKeyLength
Uint16 noOfCharsets
Uint8 kValue
Uint8 localKeyLen
Uint8 maxLoadFactor
bool defaultNoPartFlag
bool linearHashFlag
Uint8 minLoadFactor
Uint8 storageType
Uint32 filePtr [2]
DLFifoList< AttributeRecord >::Head m_attributes
Uint32 nextPool
Uint32 m_read_locked
Uint32 packedSize
IndexState indexState
Uint32 triggerId
Uint32 buildTriggerId
struct
Dbdict::TableRecord::UpgradeTriggerHandling 
m_upgrade_trigger_handling
Uint32 noOfNullBits
RopeHandle frmData
RopeHandle ngData
RopeHandle rangeData
Uint32 fragmentCount
Uint32 m_tablespace_id
DLFifoList< TableRecord >::Head m_indexes
Uint32 nextList
Uint32 prevList
Uint8 singleUserMode
Uint16 indexStatFragId
Uint16 indexStatNodeId
Uint32 indexStatBgRequest

Detailed Description

Shared table / index record. Most of this is permanent data stored on disk. Index trigger ids are volatile.

Definition at line 237 of file Dbdict.hpp.

Member Enumeration Documentation

Index state (volatile data) TODO remove

Definition at line 364 of file Dbdict.hpp.

Member Data Documentation

Uint32 Dbdict::TableRecord::filePtr[2]

File pointer received from disk

Definition at line 351 of file Dbdict.hpp.

RopeHandle Dbdict::TableRecord::frmData

frm data for this table

Definition at line 395 of file Dbdict.hpp.

DLFifoList<AttributeRecord>::Head Dbdict::TableRecord::m_attributes

Pointer to first attribute in table

Definition at line 354 of file Dbdict.hpp.

DLFifoList<TableRecord>::Head Dbdict::TableRecord::m_indexes

List of indexes attached to table

Definition at line 403 of file Dbdict.hpp.

Uint32 Dbdict::TableRecord::packedSize

Number of words

Definition at line 361 of file Dbdict.hpp.

Uint8 Dbdict::TableRecord::storageType

Table default storage method

Definition at line 336 of file Dbdict.hpp.

Uint32 Dbdict::TableRecord::triggerId

Trigger ids of index (volatile data)

Definition at line 375 of file Dbdict.hpp.


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