![]() |
MySQL 9.4.0
Source Code Documentation
|
The list of modifications to be applied on LOBs to get older versions. More...
#include <lob0undo.h>
Public Member Functions | |
| undo_seq_t * | get_undo_sequence_if_exists (ulint field_no) |
| Get the undo log sequence object for the given field number, which represents one blob. More... | |
| undo_seq_t * | get_undo_sequence (ulint field_no) |
| Get the undo log sequence object for the given field number, which represents one blob. More... | |
| void | reset () |
| Empty the collected LOB undo information from cache. More... | |
| void | apply (dict_index_t *clust_index, ulint field_no, byte *lob, size_t len, size_t lob_version, page_no_t first_page) |
| Apply the undo log record on the given LOB in memory. More... | |
| void | destroy () |
| Destroy the accumulated undo_seq_t objects. More... | |
| bool | is_empty () const |
| Check if the undo contained older versions. More... | |
| ~undo_vers_t () | |
| Destructor to free the resources. More... | |
Private Attributes | |
| std::list< undo_seq_t * > * | m_versions = nullptr |
| Maintain a list of undo_seq_t objects. More... | |
The list of modifications to be applied on LOBs to get older versions.
Given a field number, it should be able to obtain the list of undo information.
|
inline |
Destructor to free the resources.
|
inline |
Apply the undo log record on the given LOB in memory.
| [in] | clust_index | the clust index to which LOB belongs. |
| [in] | field_no | the field number of the LOB. |
| [in] | lob | the LOB data. |
| [in] | len | the length of LOB. |
| [in] | lob_version | LOB version number. |
| [in] | first_page | the first page number of LOB. |
|
inline |
Destroy the accumulated undo_seq_t objects.
|
inline |
Get the undo log sequence object for the given field number, which represents one blob.
The undo sequence object is allocated if it does not exist.
| [in] | field_no | the field number of the blob. |
|
inline |
Get the undo log sequence object for the given field number, which represents one blob.
| [in] | field_no | the field number of the blob. |
|
inline |
Check if the undo contained older versions.
|
inline |
Empty the collected LOB undo information from cache.
|
private |
Maintain a list of undo_seq_t objects.