MySQL 8.4.2
Source Code Documentation
tc_log.h File Reference
#include <assert.h>
#include <stddef.h>
#include <sys/types.h>
#include "my_inttypes.h"
#include "my_io.h"
#include "my_sys.h"
#include "mysql/components/services/bits/mysql_cond_bits.h"
#include "mysql/components/services/bits/mysql_mutex_bits.h"
#include "mysql/psi/mysql_cond.h"

Go to the source code of this file.

Classes

class  TC_LOG
 Transaction Coordinator Log. More...
 
class  TC_LOG_DUMMY
 
class  TC_LOG_MMAP
 
struct  TC_LOG_MMAP::PAGE
 

Namespaces

namespace  trx_coordinator
 

Macros

#define TC_LOG_MIN_PAGES   6
 

Typedefs

typedef ulonglong my_xid
 

Functions

bool trx_coordinator::commit_detached_by_xid (THD *thd, bool run_after_commit=true)
 Commits detached XA transaction by XID in all storage engines. More...
 
bool trx_coordinator::rollback_detached_by_xid (THD *thd)
 Rolls back detached XA transaction by XID in all storage engines. More...
 
bool trx_coordinator::commit_in_engines (THD *thd, bool all=false, bool run_after_commit=true)
 Commits the underlying transaction in storage engines. More...
 
bool trx_coordinator::rollback_in_engines (THD *thd, bool all=false)
 Rolls back the underlying transaction in storage engines. More...
 
int trx_coordinator::set_prepared_in_tc_in_engines (THD *thd, bool all=false)
 Marks the underlying transaction as PREPARED_IN_TC in storage engines. More...
 
bool trx_coordinator::should_statement_set_prepared_in_tc (THD *thd)
 Checks whether or not the underlying statement should trigger setting the transaction to PREPARED_IN_TC state. More...
 

Variables

TC_LOGtc_log
 
TC_LOG_MMAP tc_log_mmap
 
TC_LOG_DUMMY tc_log_dummy
 

Macro Definition Documentation

◆ TC_LOG_MIN_PAGES

#define TC_LOG_MIN_PAGES   6

Typedef Documentation

◆ my_xid

typedef ulonglong my_xid

Variable Documentation

◆ tc_log

TC_LOG* tc_log
extern

◆ tc_log_dummy

TC_LOG_DUMMY tc_log_dummy
extern

◆ tc_log_mmap

TC_LOG_MMAP tc_log_mmap
extern