MySQL 9.1.0
Source Code Documentation
|
#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_macros.h"
#include "mysql/components/services/log_builtins.h"
#include "mysql/my_loglevel.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/plugin.h"
#include "mysql/psi/mysql_file.h"
#include "mysql/service_mysql_alloc.h"
#include "sql/debug_sync.h"
#include "sql/handler.h"
#include "sql/log.h"
#include "sql/mysqld.h"
#include "sql/psi_memory_key.h"
#include "sql/raii/sentry.h"
#include "sql/rpl_handler.h"
#include "sql/sql_class.h"
#include "sql/sql_const.h"
#include "sql/sql_plugin.h"
#include "sql/sql_plugin_ref.h"
#include "sql/transaction_info.h"
#include "sql/xa.h"
#include "thr_mutex.h"
Namespaces | |
namespace | anonymous_namespace{tc_log.cc} |
Macros | |
#define | TC_LOG_HEADER_SIZE (sizeof(tc_log_magic) + 1) |
Functions | |
bool | anonymous_namespace{tc_log.cc}::commit_one_ht (THD *thd, plugin_ref plugin, void *arg) |
Invokes the handler interface for the storage engine, the handler::commit_by_xid function. More... | |
bool | anonymous_namespace{tc_log.cc}::rollback_one_ht (THD *thd, plugin_ref plugin, void *arg) |
Invokes the handler interface for the storage engine, the handler::rollback_by_xid function. More... | |
int | anonymous_namespace{tc_log.cc}::set_prepared_in_tc_one_ht (THD *thd, handlerton *ht) |
Invokes the handler interface for the storage engine, the handler::prepared_in_tc function. More... | |
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_LOG * | tc_log |
TC_LOG_DUMMY | tc_log_dummy |
TC_LOG_MMAP | tc_log_mmap |
#define TC_LOG_HEADER_SIZE (sizeof(tc_log_magic) + 1) |
TC_LOG* tc_log |
ulong tc_log_cur_pages_used = 0 |
TC_LOG_DUMMY tc_log_dummy |
|
static |
ulong tc_log_max_pages_used = 0 |
TC_LOG_MMAP tc_log_mmap |
ulong tc_log_page_size = 0 |
ulong tc_log_page_waits = 0 |