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

Public Types

enum  ScanState {
  SCAN_FREE = 0, WAIT_STORED_PROC_COPY = 1, WAIT_STORED_PROC_SCAN = 2, WAIT_NEXT_SCAN_COPY = 3,
  WAIT_NEXT_SCAN = 4, WAIT_DELETE_STORED_PROC_ID_SCAN = 5, WAIT_DELETE_STORED_PROC_ID_COPY = 6, WAIT_ACC_COPY = 7,
  WAIT_ACC_SCAN = 8, WAIT_SCAN_NEXTREQ = 10, WAIT_CLOSE_SCAN = 12, WAIT_CLOSE_COPY = 13,
  WAIT_RELEASE_LOCK = 14, WAIT_TUPKEY_COPY = 15, WAIT_LQHKEY_COPY = 16, IN_QUEUE = 17
}
enum  ScanType { ST_IDLE = 0, SCAN = 1, COPY = 2 }

Public Member Functions

 STATIC_CONST (MaxScanAccSegments=((MAX_PARALLEL_OP_PER_SCAN+SectionSegment::DataLength-1)/SectionSegment::DataLength)+1)
bool check_scan_batch_completed () const
bool equal (const ScanRecord &key) const
Uint32 hashValue () const

Public Attributes

UintR scan_acc_op_ptr [MaxScanAccSegments]
Uint32 scan_acc_index
Uint32 scan_acc_segments
UintR scanApiOpPtr
Local_key m_row_id
Uint32 m_max_batch_size_rows
Uint32 m_max_batch_size_bytes
Uint32 m_curr_batch_size_rows
Uint32 m_curr_batch_size_bytes
UintR copyPtr
union {
   Uint32   nextPool
   Uint32   nextList
}; 
Uint32 prevList
Uint32 nextHash
Uint32 prevHash
UintR scanAccPtr
UintR scanAiLength
UintR scanErrorCounter
UintR scanSchemaVersion
Uint32 scanTcWaiting
Uint32 fragPtrI
UintR scanStoredProcId
ScanState scanState
UintR scanTcrec
ScanType scanType
BlockReference scanApiBlockref
NodeId scanNodeId
Uint16 scanReleaseCounter
Uint16 scanNumber
BlockReference scanBlockref
Uint8 scanCompletedStatus
Uint8 scanFlag
Uint8 scanLockHold
Uint8 scanLockMode
Uint8 readCommitted
Uint8 rangeScan
Uint8 descending
Uint8 tupScan
Uint8 lcpScan
Uint8 scanKeyinfoFlag
Uint8 m_last_row
Uint8 m_reserved
Uint8 statScan
Uint8 dummy [3]

Detailed Description

Definition at line 464 of file Dblqh.hpp.

Member Data Documentation

Uint32 Dblqh::ScanRecord::fragPtrI

This is always main table, even in range scan in which case scanTcrec->fragmentptr is different

Definition at line 541 of file Dblqh.hpp.


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