MySQL 9.1.0
Source Code Documentation
binlog_ostream.cc File Reference
#include "sql/binlog_ostream.h"
#include <algorithm>
#include "my_aes.h"
#include "my_inttypes.h"
#include "my_rnd.h"
#include "my_sys.h"
#include "mysql/components/services/log_builtins.h"
#include "mysql/psi/mysql_file.h"
#include "mysqld_error.h"
#include "sql/mysqld.h"
#include "sql/rpl_log_encryption.h"
#include "sql/sql_class.h"

Macros

#define THROW_RPL_ENCRYPTION_FAILED_TO_ENCRYPT_ERROR
 

Variables

bool binlog_cache_is_reset = false
 

Macro Definition Documentation

◆ THROW_RPL_ENCRYPTION_FAILED_TO_ENCRYPT_ERROR

#define THROW_RPL_ENCRYPTION_FAILED_TO_ENCRYPT_ERROR
Value:
char err_msg[MYSQL_ERRMSG_SIZE]; \
ERR_error_string_n(ERR_get_error(), err_msg, MYSQL_ERRMSG_SIZE); \
LogErr(ERROR_LEVEL, ER_SERVER_RPL_ENCRYPTION_FAILED_TO_ENCRYPT, err_msg); \
if (current_thd) { \
if (current_thd->is_error()) current_thd->clear_error(); \
my_error(ER_RPL_ENCRYPTION_FAILED_TO_ENCRYPT, MYF(0), err_msg); \
}
bool is_error() const
true if there is an error in the error stack.
Definition: sql_class.h:3305
thread_local THD * current_thd
Definition: current_thd.cc:26
void my_error(int nr, myf MyFlags,...)
Fill in and print a previously registered error message.
Definition: my_error.cc:216
#define MYF(v)
Definition: my_inttypes.h:97
@ ERROR_LEVEL
Definition: my_loglevel.h:43
#define MYSQL_ERRMSG_SIZE
Max length of a error message.
Definition: mysql_com.h:881

Variable Documentation

◆ binlog_cache_is_reset

bool binlog_cache_is_reset = false