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

Contains instantiated TcKeyReq signaldata for operation. More...

#include <DbUtil.hpp>

Collaboration diagram for DbUtil::PreparedOperation:

Public Member Functions

 PreparedOperation (AttrMappingBuffer::DataBufferPool &am, AttrInfoBuffer::DataBufferPool &ai, ResultSetInfoBuffer::DataBufferPool &rs)
void print () const

Public Attributes

Uint32 rsLen
Uint32 noOfKeyAttr
Uint32 noOfAttr
bool releaseFlag
AttrMappingBuffer attrMapping
Uint32 tckeyLen
Uint32 keyDataPos
TcKeyReq tckey
AttrInfoBuffer attrInfo
ResultSetInfoBuffer rsInfo
Bitmask< MAX_ATTRIBUTES_IN_TABLE > pkBitmask
union {
   Uint32   nextPool
   Uint32   nextList
}; 
Uint32 prevList

Detailed Description

Contains instantiated TcKeyReq signaldata for operation.

The prepare phase is finished by storing the request in a PreparedOperation record.

Definition at line 214 of file DbUtil.hpp.

Member Data Documentation

AttrMappingBuffer DbUtil::PreparedOperation::attrMapping

Attribute Mapping

This datastructure (buffer of AttributeHeader:s) are used to map each execute request to a TCKEYREQ train of signals.

The datastructure contains (AttributeId, Position) pairs, where

  • AttributeId is id used in database, and
  • Position is position of attribute value in TCKEYREQ keyinfo part of the train of signals which will be send to TC. Position == 0x3fff means it should not be sent in keyinfo part.

Definition at line 242 of file DbUtil.hpp.


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