MySQL 8.0.40
Source Code Documentation
lob::Being_modified Struct Reference

This is used to take action when we enter and exit a scope. More...

Public Member Functions

 Being_modified (BtrContext &ctx, const big_rec_t *big_rec_vec, btr_pcur_t *pcur, ulint *offsets, opcode op, mtr_t *mtr)
 Constructor. More...
 
 ~Being_modified ()
 Destructor. More...
 

Public Attributes

BtrContextm_btr_ctx
 
const big_rec_tm_big_rec_vec
 
btr_pcur_tm_pcur
 
ulintm_offsets
 
opcode m_op
 
mtr_tm_mtr
 

Detailed Description

This is used to take action when we enter and exit a scope.

When we enter the scope the constructor will set the "being modified" bit in the lob reference objects that are either being inserted or updated. When we exit the scope the destructor will clear the "being modified" bit in the lob reference objects.

Constructor & Destructor Documentation

◆ Being_modified()

lob::Being_modified::Being_modified ( BtrContext ctx,
const big_rec_t big_rec_vec,
btr_pcur_t pcur,
ulint offsets,
opcode  op,
mtr_t mtr 
)
inline

Constructor.

Set the "being modified" bit in LOB references.

Parameters
[in]ctxthe B-tree context for LOB operation.
[in]big_rec_vecthe LOB vector
[in]pcurpersistent cursor
[in]offsetsthe record offsets
[in]opthe operation code
[in]mtrthe mini-transaction context.

◆ ~Being_modified()

lob::Being_modified::~Being_modified ( )
inline

Destructor.

Clear the "being modified" bit in LOB references.

Member Data Documentation

◆ m_big_rec_vec

const big_rec_t* lob::Being_modified::m_big_rec_vec

◆ m_btr_ctx

BtrContext& lob::Being_modified::m_btr_ctx

◆ m_mtr

mtr_t* lob::Being_modified::m_mtr

◆ m_offsets

ulint* lob::Being_modified::m_offsets

◆ m_op

opcode lob::Being_modified::m_op

◆ m_pcur

btr_pcur_t* lob::Being_modified::m_pcur

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