MySQL 8.4.2
Source Code Documentation
|
#include "my_config.h"
#include <inttypes.h>
#include <limits.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include "mysql/components/services/bits/psi_mutex_bits.h"
#include "mysql/components/services/log_builtins.h"
#include "mysql/my_loglevel.h"
#include "mysql/utils/enumeration_utils.h"
#include <unistd.h>
#include <algorithm>
#include <list>
#include "m_string.h"
#include "my_byteorder.h"
#include "my_dbug.h"
#include "my_inttypes.h"
#include "my_stacktrace.h"
#include "my_sys.h"
#include "mysql/binlog/event/control_events.h"
#include "mysql/psi/mysql_mutex.h"
#include "mysql/service_mysql_alloc.h"
#include "mysql/strings/int2str.h"
#include "prealloced_array.h"
#include "sql/rpl_gtid.h"
#include "sql/sql_const.h"
#include "sql/thr_malloc.h"
#include "mysql/psi/psi_memory.h"
#include "mysqld_error.h"
#include "sql/log.h"
Namespaces | |
namespace | anonymous_namespace{rpl_gtid_set.cc} |
Macros | |
#define | MAX_NEW_CHUNK_ALLOCATE_TRIES 10 |
Functions | |
rpl_gno | parse_gno (const char **s) |
Parse a GNO from a string. More... | |
int | format_gno (char *s, rpl_gno gno) |
Formats a GNO as a string. More... | |
static size_t | get_string_length (rpl_gno gno) |
Returns the length that the given rpl_sidno (64 bit integer) would have, if it was encoded as a string. More... | |
void | anonymous_namespace{rpl_gtid_set.cc}::encode_nsids_format (uchar *buf, uint64_t n_sids, Gtid_format gtid_format) |
std::tuple< mysql::utils::Return_status, uint64_t, Gtid_format > | anonymous_namespace{rpl_gtid_set.cc}::decode_nsids_format (const uchar *buf) |
enum_return_status | anonymous_namespace{rpl_gtid_set.cc}::report_gtid_encoding_error () |
Variables | |
PSI_memory_key | key_memory_Gtid_set_to_string |
PSI_memory_key | key_memory_Gtid_set_Interval_chunk |
#define MAX_NEW_CHUNK_ALLOCATE_TRIES 10 |
int format_gno | ( | char * | s, |
rpl_gno | gno | ||
) |
Formats a GNO as a string.
s | The buffer. |
gno | The GNO. |
|
static |
Returns the length that the given rpl_sidno (64 bit integer) would have, if it was encoded as a string.
rpl_gno parse_gno | ( | const char ** | s | ) |
Parse a GNO from a string.
s | Pointer to the string. *s will advance to the end of the parsed GNO, if a correct GNO is found. |
GNO | if a correct GNO (i.e., 0 or positive number) was found. |
-1 | otherwise. |
PSI_memory_key key_memory_Gtid_set_Interval_chunk |
PSI_memory_key key_memory_Gtid_set_to_string |