![]() |
MySQL 9.5.0
Source Code Documentation
|
Rollback segments from a given transaction with trx-no scheduled for purge. More...
#include <trx0types.h>
Public Member Functions | |
| TrxUndoRsegs (trx_id_t trx_no) | |
| TrxUndoRsegs () | |
| Default constructor. More... | |
| void | set_trx_no (trx_id_t trx_no) |
| trx_id_t | get_trx_no () const |
| Get transaction number. More... | |
| void | insert (trx_rseg_t *rseg) |
| Add rollback segment. More... | |
| size_t | size () const |
| Number of registered rsegs. More... | |
| Rsegs_array< 2 >::iterator | begin () |
| Rsegs_array< 2 >::iterator | end () |
| void | insert (const TrxUndoRsegs &append_from) |
| Append rollback segments from referred instance to current instance. More... | |
| bool | operator() (const TrxUndoRsegs &lhs, const TrxUndoRsegs &rhs) |
| Compare two TrxUndoRsegs based on trx_no. More... | |
Private Attributes | |
| trx_id_t | m_trx_no |
| Compiler defined copy-constructor/assignment operator should be fine given that there is no reference to a memory object outside scope of class object. More... | |
| size_t | m_rsegs_n {} |
| Rsegs_array< 2 > | m_rsegs |
| Rollback segments of a transaction, scheduled for purge. More... | |
Rollback segments from a given transaction with trx-no scheduled for purge.
|
inlineexplicit |
|
inline |
Default constructor.
|
inline |
|
inline |
|
inline |
Get transaction number.
|
inline |
Append rollback segments from referred instance to current instance.
|
inline |
Add rollback segment.
| rseg | rollback segment to add. |
|
inline |
Compare two TrxUndoRsegs based on trx_no.
| lhs | first element to compare |
| rhs | second element to compare |
|
inline |
|
inline |
Number of registered rsegs.
|
private |
Rollback segments of a transaction, scheduled for purge.
|
private |
|
private |
Compiler defined copy-constructor/assignment operator should be fine given that there is no reference to a memory object outside scope of class object.
The rollback segments transaction number.