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

#include <Dbdict.hpp>

Collaboration diagram for Dbdict::TriggerRecord:

Public Types

enum  TriggerState {
  TS_NOT_DEFINED = 0, TS_DEFINING = 1, TS_OFFLINE = 2, TS_ONLINE = 5,
  TS_FAKE_UPGRADE = 6
}

Public Attributes

TriggerState triggerState
RopeHandle triggerName
Uint32 triggerId
Uint32 m_obj_ptr_i
Uint32 tableId
Uint32 triggerInfo
AttributeMask attributeMask
BlockReference receiverRef
Uint32 indexId
Uint32 nextPool

Detailed Description

Triggers. This is volatile data not saved on disk. Setting a trigger online creates the trigger in TC (if index) and LQH-TUP.

Definition at line 444 of file Dbdict.hpp.

Member Enumeration Documentation

Trigger state

Definition at line 448 of file Dbdict.hpp.

Member Data Documentation

AttributeMask Dbdict::TriggerRecord::attributeMask

Attribute mask, defines what attributes are to be monitored. Can be seen as a compact representation of SQL column name list.

Definition at line 476 of file Dbdict.hpp.

Uint32 Dbdict::TriggerRecord::indexId

Index id, only used by secondary_index triggers

Definition at line 482 of file Dbdict.hpp.

Uint32 Dbdict::TriggerRecord::nextPool

Pointer to the next attribute used by ArrayPool

Definition at line 485 of file Dbdict.hpp.

BlockReference Dbdict::TriggerRecord::receiverRef

Receiver. Not used from index triggers

Definition at line 479 of file Dbdict.hpp.

Uint32 Dbdict::TriggerRecord::tableId

Table id, the table the trigger is defined on

Definition at line 467 of file Dbdict.hpp.

Uint32 Dbdict::TriggerRecord::triggerId

Trigger id, used by TRIX, TC, LQH, and TUP to identify the trigger

Definition at line 463 of file Dbdict.hpp.

Uint32 Dbdict::TriggerRecord::triggerInfo

TriggerInfo (packed)

Definition at line 470 of file Dbdict.hpp.

RopeHandle Dbdict::TriggerRecord::triggerName

Trigger name, used by DICT to identify the trigger

Definition at line 460 of file Dbdict.hpp.


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