![]() |
MySQL 8.0.43
Source Code Documentation
|
#include <stdio.h>#include <string.h>#include <sys/types.h>#include <algorithm>#include <atomic>#include "libbinlogevents/include/control_events.h"#include "m_string.h"#include "my_dbug.h"#include "my_inttypes.h"#include "my_macros.h"#include "my_thread.h"#include "mysql/psi/mysql_mutex.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"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_sid_map (rpl_sid sid) |
| Return sidno for a given sid, see Sid_map::add_sid() for details. 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_sid_lock.rdlock.
Return last gno for a given sidno, see Gtid_state::get_last_executed_gno() for details.
Return sidno for a given sid, see Sid_map::add_sid() 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 |