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

Public Member Functions

void print (NdbOut &s) const

Public Attributes

Uint32 triggerId
Uint32 oldTriggerIds [3]
Uint32 indexId
TriggerType::Value triggerType
TriggerActionTime::Value triggerActionTime
TriggerEvent::Value triggerEvent
Uint32 m_receiverRef
bool monitorReplicas
bool monitorAllAttributes
bool sendOnlyChangedAttributes
bool sendBeforeValues
Bitmask< MAXNROFATTRIBUTESINWORDS > attributeMask
union {
   Uint32   nextPool
   Uint32   nextList
}; 
Uint32 prevList

Detailed Description

Definition at line 871 of file Dbtup.hpp.

Member Data Documentation

union { ... }

Next ptr (used in pool/list)

Bitmask<MAXNROFATTRIBUTESINWORDS> Dbtup::TupTriggerData::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 930 of file Dbtup.hpp.

Uint32 Dbtup::TupTriggerData::indexId

Index id is needed for ordered index.

Definition at line 891 of file Dbtup.hpp.

Uint32 Dbtup::TupTriggerData::m_receiverRef

Receiver block reference

Definition at line 902 of file Dbtup.hpp.

bool Dbtup::TupTriggerData::monitorAllAttributes

Monitor all attributes, the trigger monitors all changes to attributes in the table

Definition at line 914 of file Dbtup.hpp.

bool Dbtup::TupTriggerData::monitorReplicas

Monitor all replicas, i.e. trigger will fire on all nodes where tuples are stored

Definition at line 908 of file Dbtup.hpp.

Uint32 Dbtup::TupTriggerData::oldTriggerIds[3]

In 6.3 there is one trigger per operation

Definition at line 886 of file Dbtup.hpp.

Uint32 Dbtup::TupTriggerData::prevList

Prev pointer (used in list)

Definition at line 943 of file Dbtup.hpp.

bool Dbtup::TupTriggerData::sendBeforeValues

Send also before values at trigger firing time.

Definition at line 924 of file Dbtup.hpp.

bool Dbtup::TupTriggerData::sendOnlyChangedAttributes

Send only changed attributes at trigger firing time.

Definition at line 919 of file Dbtup.hpp.

Uint32 Dbtup::TupTriggerData::triggerId

Trigger id, used by DICT/TRIX to identify the trigger

trigger Ids are unique per block for SUBSCRIPTION triggers. This is so that BACKUP can use TUP triggers directly and delete them properly.

Definition at line 881 of file Dbtup.hpp.

TriggerType::Value Dbtup::TupTriggerData::triggerType

Trigger type etc, defines what the trigger is used for

Definition at line 896 of file Dbtup.hpp.


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