MySQL 9.0.0
Source Code Documentation
mtr_memo_slot_t Struct Reference

Mini-transaction memo stack slot. More...

#include <mtr0mtr.h>

Public Member Functions

bool is_lock () const
 Check if the object stored in this slot is a lock (rw_lock_t). More...
 
std::ostream & print (std::ostream &out) const
 

Public Attributes

void * object
 Pointer to the object - either buf_block_t or rw_lock_t. More...
 
ulint type
 type of the stored object (MTR_MEMO_S_LOCK, ...) More...
 

Detailed Description

Mini-transaction memo stack slot.

Member Function Documentation

◆ is_lock()

bool mtr_memo_slot_t::is_lock ( ) const
inline

Check if the object stored in this slot is a lock (rw_lock_t).

Returns
true if it is a lock object, false otherwise.

◆ print()

std::ostream & mtr_memo_slot_t::print ( std::ostream &  out) const

Member Data Documentation

◆ object

void* mtr_memo_slot_t::object

Pointer to the object - either buf_block_t or rw_lock_t.

◆ type

ulint mtr_memo_slot_t::type

type of the stored object (MTR_MEMO_S_LOCK, ...)


The documentation for this struct was generated from the following files: