MySQL  8.0.18
Source Code Documentation
sql_binlog.h File Reference

Go to the source code of this file.

Functions

void mysql_client_binlog_statement (THD *thd)
 Execute a BINLOG statement. More...
 

Function Documentation

◆ mysql_client_binlog_statement()

void mysql_client_binlog_statement ( THD thd)

Execute a BINLOG statement.

To execute the BINLOG command properly the server needs to know which format the BINLOG command's event is in. Therefore, the first BINLOG statement seen must be a base64 encoding of the Format_description_log_event, as outputted by mysqlbinlog. This Format_description_log_event is cached in rli->rli_description_event.

Parameters
thdPointer to THD object for the client thread executing the statement.