![]() |
MySQL 26.10.0
Source Code Documentation
|
Cached transaction context and its visibility through SQL XA RECOVER. More...
Public Member Functions | |
| Cache_entry (transaction_ptr transaction, Xa_recover_visibility visibility) | |
| const transaction_ptr & | transaction () const |
| bool | is_visible_to_xa_recover () const |
| void | mark_prepared_visible_for_xa_recover () |
| Mark visible through SQL XA RECOVER without changing SQL XA state. More... | |
| void | mark_finalized_for_recover () |
| Mark finalized for SQL XA RECOVER while keeping the XID reserved. More... | |
Private Attributes | |
| transaction_ptr | m_transaction |
| Xa_recover_visibility | m_xa_recover_visibility |
Cached transaction context and its visibility through SQL XA RECOVER.
|
inline |
| transaction | Transaction context stored by the cache entry. |
| visibility | Whether the transaction is visible through SQL XA RECOVER. |
|
inline |
| true | The transaction can be listed by SQL XA RECOVER. |
| false | The transaction XID remains reserved, but hidden from SQL XA RECOVER. |
|
inline |
Mark finalized for SQL XA RECOVER while keeping the XID reserved.
|
inline |
Mark visible through SQL XA RECOVER without changing SQL XA state.
|
inline |
|
private |
|
private |