MySQL  8.0.27
Source Code Documentation
tc_log.cc File Reference
#include "sql/tc_log.h"
#include "my_config.h"
#include <errno.h>
#include <fcntl.h>
#include <string.h>
#include <algorithm>
#include "map_helpers.h"
#include "my_alloc.h"
#include "my_loglevel.h"
#include "my_macros.h"
#include "mysql/components/services/log_builtins.h"
#include "mysql/psi/mysql_mutex.h"
#include "mysqld_error.h"
#include <sys/mman.h>
#include "my_compiler.h"
#include "my_dbug.h"
#include "my_thread_local.h"
#include "mysql/components/services/bits/psi_bits.h"
#include "mysql/psi/mysql_file.h"
#include "mysql/service_mysql_alloc.h"
#include "sql/handler.h"
#include "sql/log.h"
#include "sql/mysqld.h"
#include "sql/psi_memory_key.h"
#include "sql/sql_class.h"
#include "sql/sql_const.h"
#include "sql/transaction_info.h"
#include "sql/xa.h"
#include "thr_mutex.h"

Macros

#define TC_LOG_HEADER_SIZE   (sizeof(tc_log_magic) + 1)
 

Variables

ulong tc_log_page_waits = 0
 
static const char tc_log_magic [] = {(char)254, 0x23, 0x05, 0x74}
 
ulong tc_log_max_pages_used = 0
 
ulong tc_log_page_size = 0
 
ulong tc_log_cur_pages_used = 0
 
TC_LOGtc_log
 
TC_LOG_DUMMY tc_log_dummy
 
TC_LOG_MMAP tc_log_mmap
 

Macro Definition Documentation

◆ TC_LOG_HEADER_SIZE

#define TC_LOG_HEADER_SIZE   (sizeof(tc_log_magic) + 1)

Variable Documentation

◆ tc_log

TC_LOG* tc_log

◆ tc_log_cur_pages_used

ulong tc_log_cur_pages_used = 0

◆ tc_log_dummy

TC_LOG_DUMMY tc_log_dummy

◆ tc_log_magic

const char tc_log_magic[] = {(char)254, 0x23, 0x05, 0x74}
static

◆ tc_log_max_pages_used

ulong tc_log_max_pages_used = 0

◆ tc_log_mmap

TC_LOG_MMAP tc_log_mmap

◆ tc_log_page_size

ulong tc_log_page_size = 0

◆ tc_log_page_waits

ulong tc_log_page_waits = 0