![]() |
MySQL 8.0.43
Source Code Documentation
|
Undo information about LOB data alone without including LOB index. More...
#include <lob0undo.h>
Public Member Functions | |
| void | apply (dict_index_t *index, byte *lob_mem, size_t len, size_t lob_version, page_no_t first_page_no) |
| Apply the undo information to the given LOB. More... | |
| const byte * | copy_old_data (const byte *undo_ptr, ulint len) |
| Copy the old data from the undo page into this object. More... | |
| void | destroy () |
| Free allocated memory for old data. More... | |
| std::ostream & | print (std::ostream &out) const |
Public Attributes | |
| page_no_t | m_page_no = FIL_NULL |
| The LOB first page number. More... | |
| ulint | m_version = 0 |
| The LOB version number on which this undo should be applied. More... | |
| ulint | m_offset = 0 |
| The offset within LOB where partial update happened. More... | |
| ulint | m_length = 0 |
| The length of the modification. More... | |
| byte * | m_old_data = nullptr |
| Changes to the LOB data. More... | |
Undo information about LOB data alone without including LOB index.
| void lob::undo_data_t::apply | ( | dict_index_t * | index, |
| byte * | lob_mem, | ||
| size_t | len, | ||
| size_t | lob_version, | ||
| page_no_t | first_page_no | ||
| ) |
Apply the undo information to the given LOB.
| [in] | index | clustered index containing the LOB. |
| [in] | lob_mem | LOB on which the given undo will be applied. |
| [in] | len | length of LOB. |
| [in] | lob_version | lob version number |
| [in] | first_page_no | the first page number of lob |
Copy the old data from the undo page into this object.
| [in] | undo_ptr | the pointer into the undo log record. |
| [in] | len | length of the old data. |
| void lob::undo_data_t::destroy | ( | ) |
Free allocated memory for old data.
| std::ostream & lob::undo_data_t::print | ( | std::ostream & | out | ) | const |
| ulint lob::undo_data_t::m_length = 0 |
The length of the modification.
| ulint lob::undo_data_t::m_offset = 0 |
The offset within LOB where partial update happened.
| ulint lob::undo_data_t::m_version = 0 |
The LOB version number on which this undo should be applied.