MySQL  8.0.21
Source Code Documentation
semisync.h File Reference
#include <mysql/plugin.h>
#include <mysql/components/services/log_builtins.h>
#include "my_io.h"
#include "my_thread.h"
#include "mysqld_error.h"
#include "sql/replication.h"

Go to the source code of this file.

Classes

class  Trace
 This class is used to trace function calls and other process information. More...
 
class  ReplSemiSyncBase
 Base class for semi-sync master and slave classes. More...
 

Macros

#define REPLY_MAGIC_NUM_LEN   1
 
#define REPLY_BINLOG_POS_LEN   8
 
#define REPLY_BINLOG_NAME_LEN   (FN_REFLEN + 1)
 
#define REPLY_MESSAGE_MAX_LENGTH   (REPLY_MAGIC_NUM_LEN + REPLY_BINLOG_POS_LEN + REPLY_BINLOG_NAME_LEN)
 
#define REPLY_MAGIC_NUM_OFFSET   0
 
#define REPLY_BINLOG_POS_OFFSET   (REPLY_MAGIC_NUM_OFFSET + REPLY_MAGIC_NUM_LEN)
 
#define REPLY_BINLOG_NAME_OFFSET   (REPLY_BINLOG_POS_OFFSET + REPLY_BINLOG_POS_LEN)
 

Macro Definition Documentation

◆ REPLY_BINLOG_NAME_LEN

#define REPLY_BINLOG_NAME_LEN   (FN_REFLEN + 1)

◆ REPLY_BINLOG_NAME_OFFSET

#define REPLY_BINLOG_NAME_OFFSET   (REPLY_BINLOG_POS_OFFSET + REPLY_BINLOG_POS_LEN)

◆ REPLY_BINLOG_POS_LEN

#define REPLY_BINLOG_POS_LEN   8

◆ REPLY_BINLOG_POS_OFFSET

#define REPLY_BINLOG_POS_OFFSET   (REPLY_MAGIC_NUM_OFFSET + REPLY_MAGIC_NUM_LEN)

◆ REPLY_MAGIC_NUM_LEN

#define REPLY_MAGIC_NUM_LEN   1

◆ REPLY_MAGIC_NUM_OFFSET

#define REPLY_MAGIC_NUM_OFFSET   0

◆ REPLY_MESSAGE_MAX_LENGTH

#define REPLY_MESSAGE_MAX_LENGTH   (REPLY_MAGIC_NUM_LEN + REPLY_BINLOG_POS_LEN + REPLY_BINLOG_NAME_LEN)