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

#include <Dbspj.hpp>

Collaboration diagram for Dbspj::Request:

Public Types

enum  RequestBits {
  RT_SCAN = 0x1, RT_ROW_BUFFERS = 0x2, RT_MULTI_SCAN = 0x4, RT_VAR_ALLOC = 0x8,
  RT_NEED_PREPARE = 0x10, RT_NEED_COMPLETE = 0x20, RT_REPEAT_SCAN_RESULT = 0x40
}
enum  RequestState {
  RS_BUILDING = 0x1, RS_PREPARING = 0x2, RS_RUNNING = 0x3, RS_COMPLETING = 0x4,
  RS_ABORTING = 0x1000, RS_WAITING = 0x2000, RS_ABORTED = 0x2008, RS_END = 0
}

Public Member Functions

 Request (const ArenaHead &arena)
bool isScan () const
bool isLookup () const
bool equal (const Request &key) const
Uint32 hashValue () const

Public Attributes

Uint32 m_magic
Uint32 m_bits
Uint32 m_state
Uint32 m_errCode
Uint32 m_node_cnt
Uint32 m_senderRef
Uint32 m_senderData
Uint32 m_rootResultData
Uint32 m_transId [2]
TreeNode_list::Head m_nodes
TreeNodeCursor_list::Head m_cursor_nodes
Uint32 m_cnt_active
TreeNodeBitMask m_active_nodes
Uint32 m_rows
Uint32 m_outstanding
Uint16 m_lookup_node_data [MAX_NDB_NODES]
ArenaHead m_arena
RowBuffer m_rowBuffer
union {
   Uint32   nextHash
   Uint32   nextPool
}; 
Uint32 prevHash

Detailed Description

A request (i.e a query + parameters)

Definition at line 835 of file Dbspj.hpp.


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