MySQL 9.0.0
Source Code Documentation
|
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 | |
BtrContext & | m_btr_ctx |
const big_rec_t * | m_big_rec_vec |
btr_pcur_t * | m_pcur |
ulint * | m_offsets |
opcode | m_op |
mtr_t * | m_mtr |
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.
|
inline |
Constructor.
Set the "being modified" bit in LOB references.
[in] | ctx | the B-tree context for LOB operation. |
[in] | big_rec_vec | the LOB vector |
[in] | pcur | persistent cursor |
[in] | offsets | the record offsets |
[in] | op | the operation code |
[in] | mtr | the mini-transaction context. |
|
inline |
Destructor.
Clear the "being modified" bit in LOB references.
const big_rec_t* lob::Being_modified::m_big_rec_vec |
BtrContext& lob::Being_modified::m_btr_ctx |
mtr_t* lob::Being_modified::m_mtr |
ulint* lob::Being_modified::m_offsets |
opcode lob::Being_modified::m_op |
btr_pcur_t* lob::Being_modified::m_pcur |