MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TcKeyReq Class Reference

Contains KeyInfo and AttrInfo and is commonly followed by more signals. More...

#include <TcKeyReq.hpp>

Public Member Functions

 STATIC_CONST (StaticLength=8)
 STATIC_CONST (SignalLength=25)
 STATIC_CONST (MaxKeyInfo=8)
 STATIC_CONST (MaxAttrInfo=5)
 STATIC_CONST (MaxTotalAttrInfo=((MAX_SEND_MESSAGE_BYTESIZE/4)-SignalLength))
 STATIC_CONST (KeyInfoSectionNum=0)
 STATIC_CONST (AttrInfoSectionNum=1)
 STATIC_CONST (UnlockKeyLen=2)

Friends

class Dbtc
class Ndbcntr
class NdbQueryImpl
class NdbOperation
class NdbIndexOperation
class NdbScanOperation
class NdbBlob
class DbUtil
class Trix
bool printTCKEYREQ (FILE *, const Uint32 *, Uint32, Uint16)
bool printTCINDXREQ (FILE *, const Uint32 *, Uint32, Uint16)

Detailed Description

Contains KeyInfo and AttrInfo and is commonly followed by more signals.

  • SENDER: API, NDBCNTR
  • RECEIVER: TC

Short TCKEYREQ Prior to NDB 6.4.0, TCKEYREQ was always sent as a short signal train with up to 8 words of KeyInfo and 5 words of AttrInfo in the TCKEYREQ signal, and all other Key and AttrInfo sent in separate signal trains. This format is supported for non NdbRecord operations, backwards compatibility, and for internal TCKEYREQ signals received from non-API clients.

Long TCKEYREQ From NDB 6.4.0, for NdbRecord operations the API nodes send long TCKEYREQ signals with all KeyInfo and AttrInfo in long sections sent with the TCKEYREQ signal. As each section has a section length, and no Key/AttrInfo is sent in the TCKEYREQ signal itself, the KeyLength, AttrInfoLen and AIInTcKeyReq fields of the header are no longer required, and their bits can be reused in future.

Definition at line 46 of file TcKeyReq.hpp.

Member Function Documentation

TcKeyReq::STATIC_CONST ( StaticLength  = 8)

Length of signal

TcKeyReq::STATIC_CONST ( KeyInfoSectionNum  = 0)

Long signal variant of TCKEYREQ

Friends And Related Function Documentation

friend class Dbtc
friend

Receiver(s)

Definition at line 50 of file TcKeyReq.hpp.

friend class Ndbcntr
friend

Sender(s)

Definition at line 55 of file TcKeyReq.hpp.

friend class NdbIndexOperation
friend

Sender(s)

Definition at line 58 of file TcKeyReq.hpp.

friend class NdbOperation
friend

Sender(s)

Definition at line 57 of file TcKeyReq.hpp.

bool printTCKEYREQ ( FILE *  output,
const Uint32 *  theData,
Uint32  len,
Uint16  receiverBlockNo 
)
friend

For printing

Definition at line 23 of file TcKeyReq.cpp.


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