33#include "mysqld_error.h"
60 func_name, exit_code);
67 func_name, exit_code ?
"True" :
"False");
97#define REPLY_MAGIC_NUM_LEN 1
98#define REPLY_BINLOG_POS_LEN 8
99#define REPLY_BINLOG_NAME_LEN (FN_REFLEN + 1)
100#define REPLY_MESSAGE_MAX_LENGTH \
101 (REPLY_MAGIC_NUM_LEN + REPLY_BINLOG_POS_LEN + REPLY_BINLOG_NAME_LEN)
102#define REPLY_MAGIC_NUM_OFFSET 0
103#define REPLY_BINLOG_POS_OFFSET (REPLY_MAGIC_NUM_OFFSET + REPLY_MAGIC_NUM_LEN)
104#define REPLY_BINLOG_NAME_OFFSET \
105 (REPLY_BINLOG_POS_OFFSET + REPLY_BINLOG_POS_LEN)
Base class for semi-sync master and slave classes.
Definition: semisync.h:83
static const unsigned char kPacketFlagSync
Definition: semisync.h:89
static const unsigned char kSyncHeader[2]
Definition: semisync.h:85
static const unsigned char kPacketMagicNum
Definition: semisync.h:88
This class is used to trace function calls and other process information.
Definition: semisync.h:43
int function_exit(const char *func_name, int exit_code)
Definition: semisync.h:57
static const unsigned long kTraceGeneral
Definition: semisync.h:46
void function_exit(const char *func_name)
Definition: semisync.h:71
static const unsigned long kTraceNetWait
Definition: semisync.h:48
static const unsigned long kTraceFunction
Definition: semisync.h:45
Trace(unsigned long trace_level)
Definition: semisync.h:77
unsigned long trace_level_
Definition: semisync.h:50
Trace()
Definition: semisync.h:76
static const unsigned long kTraceDetail
Definition: semisync.h:47
void function_enter(const char *func_name)
Definition: semisync.h:52
bool function_exit(const char *func_name, bool exit_code)
Definition: semisync.h:64
const mysql_service_log_builtins_t * log_bi
Definition: keyring_file.cc:136
#define L
Definition: ctype-tis620.cc:76
#define LogErr(severity, ecode,...)
Definition: log_builtins.h:843
Common #defines and includes for file and socket I/O.
@ INFORMATION_LEVEL
Definition: my_loglevel.h:45
Defines to make different thread packages compatible.
bool is_sysvar_defined(const char *name)
Return true if the named sysvar has been defined in the server.
Definition: semisync.cc:39
case opt name
Definition: sslopt-case.h:33
SHOW STATUS Server status variable.
Definition: status_var.h:79