MySQL 8.4.3
Source Code Documentation
|
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <algorithm>
#include <atomic>
#include "m_string.h"
#include "my_dbug.h"
#include "my_inttypes.h"
#include "my_macros.h"
#include "my_thread.h"
#include "mysql/binlog/event/control_events.h"
#include "mysql/psi/mysql_mutex.h"
#include "nulls.h"
#include "sql/rpl_gtid.h"
#include "typelib.h"
#include "mysql/thread_type.h"
#include "mysqld_error.h"
#include "sql/binlog.h"
#include "sql/current_thd.h"
#include "sql/rpl_msr.h"
#include "sql/sql_class.h"
#include "sql/sql_error.h"
#include "storage/perfschema/pfs_instr_class.h"
#include "sql/log.h"
Functions | |
enum_gtid_consistency_mode | get_gtid_consistency_mode () |
Return the current value of ENFORCE_GTID_CONSISTENCY. More... | |
void | check_return_status (enum_return_status status, const char *action, const char *status_name, int allow_unreported) |
rpl_sidno | get_sidno_from_global_tsid_map (const Tsid &tsid) |
Return sidno for a given tsid, see Tsid_map::add_tsid() for details. More... | |
const Tsid & | get_tsid_from_global_tsid_map (rpl_sidno sidno) |
Return Tsid for a given sidno on the global_tsid_map. More... | |
rpl_gno | get_last_executed_gno (rpl_sidno sidno) |
Return last gno for a given sidno, see Gtid_state::get_last_executed_gno() for details. More... | |
Variables | |
ulong | _gtid_consistency_mode |
Current value for ENFORCE_GTID_CONSISTENCY. More... | |
const char * | gtid_consistency_mode_names [] = {"OFF", "ON", "WARN", NullS} |
Strings holding the enumeration values for gtid_consistency_mode_names. More... | |
TYPELIB | gtid_consistency_mode_typelib |
void check_return_status | ( | enum_return_status | status, |
const char * | action, | ||
const char * | status_name, | ||
int | allow_unreported | ||
) |
enum_gtid_consistency_mode get_gtid_consistency_mode | ( | ) |
Return the current value of ENFORCE_GTID_CONSISTENCY.
Caller must hold global_tsid_lock.rdlock.
Return last gno for a given sidno, see Gtid_state::get_last_executed_gno() for details.
Return sidno for a given tsid, see Tsid_map::add_tsid() for details.
Return sidno for a given tsid, see Tsid_map::add_sid() for details.
Return Tsid for a given sidno on the global_tsid_map.
See Tsid_map::sidno_to_tsid() for details.
ulong _gtid_consistency_mode |
Current value for ENFORCE_GTID_CONSISTENCY.
Don't use this directly; use get_gtid_consistency_mode.
const char* gtid_consistency_mode_names[] = {"OFF", "ON", "WARN", NullS} |
Strings holding the enumeration values for gtid_consistency_mode_names.
Use get_gtid_consistency_mode_string instead of accessing this directly.
TYPELIB gtid_consistency_mode_typelib |