#include <row0purge.h>
◆ LOB_free_set
◆ Recs
◆ add_lob_page()
Add an LOB page to the list of pages that will be freed at the end of a purge batch.
- Parameters
-
[in] | index | the clust index to which the LOB belongs. |
[in] | page_id | the page_id of the first page of the LOB. |
◆ check_duplicate_undo_no()
bool purge_node_t::check_duplicate_undo_no |
( |
| ) |
const |
Check if there are more than one undo record with same (trx_id, undo_no) combination.
- Returns
- true when no duplicates are found, false otherwise.
◆ deinit()
void purge_node_t::deinit |
( |
void |
| ) |
|
|
inline |
◆ free_lob_pages()
void purge_node_t::free_lob_pages |
( |
| ) |
|
Free the LOB first pages at end of purge batch.
Since this function acquires shared MDL table locks, the caller should not hold any latches.
Ensure that the caller does not hold any latches.
◆ init()
void purge_node_t::init |
( |
void |
| ) |
|
|
inline |
◆ is_table_id_exists()
bool purge_node_t::is_table_id_exists |
( |
table_id_t |
table_id | ) |
const |
Check if undo records of given table_id is there in this purge node.
- Parameters
-
[in] | table_id | look for undo records of this table id. |
- Returns
- true if undo records of table id exists, false otherwise.
◆ validate_pcur()
bool purge_node_t::validate_pcur |
( |
| ) |
|
Validate the persistent cursor.
Validate the persisent cursor.
The purge node has two references to the clustered index record - one via the ref member, and the other via the persistent cursor. These two references must match each other if the found_clust flag is set.
- Returns
- true if the persistent cursor is consistent with the ref member.
The purge node has two references to the clustered index record - one via the ref member, and the other via the persistent cursor. These two references must match each other if the found_clust flag is set.
- Returns
- true if the stored copy of persistent cursor is consistent with the ref member.
◆ cmpl_info
ulint purge_node_t::cmpl_info |
compiler analysis info of an update
◆ common
node type: QUE_NODE_PURGE
◆ done
◆ found_clust
bool purge_node_t::found_clust |
true if the clustered index record determined by ref was found in the clustered index, and we were able to position pcur on it
◆ heap
The heap is owned by purge_sys and is reset after a purge batch has completed.
◆ index
NULL, or the next index whose record should be handled.
◆ m_lob_pages
Set of LOB first pages that are to be freed.
◆ mdl
MDL ticket for the table name.
◆ modifier_trx_id
trx id for this purging record
◆ mysql_table
TABLE* purge_node_t::mysql_table |
◆ parent
parent table for an FTS AUX TABLE
◆ parent_mdl
MDL ticket for the parent table of an FTS AUX TABLE.
◆ pcur
persistent cursor used in searching the clustered index record
◆ rec_type
ulint purge_node_t::rec_type |
undo log record type: TRX_UNDO_INSERT_REC, ...
◆ recs
◆ ref
NULL, or row reference to the next row to handle.
◆ roll_ptr
roll pointer to undo log record
◆ row
NULL, or a copy (also fields copied to heap) of the indexed fields of the row to handle.
◆ rseg
◆ table
table where purge is done
◆ trx_id
trx id for this purging record
◆ undo_no
undo number of the record
◆ update
upd_t* purge_node_t::update |
update vector for a clustered index record
The documentation for this struct was generated from the following files: