From 80a7ec044f2e6fdf09983f29f6b5d284d50a0f12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Eeden?= Date: Sun, 5 Feb 2023 14:04:53 +0100 Subject: [PATCH] doc: Add docs for COM_BINLOG_DUMP --- sql/rpl_source.cc | 35 +++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git a/sql/rpl_source.cc b/sql/rpl_source.cc index d2b83a5f4ff4..b54854bb9df4 100644 --- a/sql/rpl_source.cc +++ b/sql/rpl_source.cc @@ -817,7 +817,7 @@ bool show_replicas(THD *thd) { /** - @page page_protocol_com_binlog_dump COM_BINLOG_DUMP + @page page_protocol_com_binlog_dump Binlog Dump Commands @brief Request a @ref sect_protocol_replication_binlog_stream from the server @@ -825,7 +825,7 @@ bool show_replicas(THD *thd) { @ref page_protocol_basic_err_packet on error - + @@ -846,6 +846,37 @@ bool show_replicas(THD *thd) {
PayloadCOM_BINLOG_DUMP Payload
TypeNameDescription
@ref a_protocol_type_int1 "int<1>" status
@sa com_binlog_dump + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
COM_BINLOG_DUMP_GTID Payload
TypeNameDescription
@ref a_protocol_type_int1 "int<1>"status[0x30] COM_BINLOG_DUMP
@ref a_protocol_type_int2 "int<2>"flags
@ref a_protocol_type_int4 "int<4>"server-idServer id of this slave
@ref a_protocol_type_int4 "int<4>"filename lengthLength of the binlog filename/td>
@ref sect_protocol_basic_dt_string_var "string<var>"binlog-filenamefilename of the binlog on the master
@ref a_protocol_type_int8 "int<8>"binlog-posposition in the binlog-file to start the stream with
@ref a_protocol_type_int4 "int<4>"gtid-data-lengthLength of encoded GTID data
binary datagtid-dataEncoded GTID sets
+ + @sa com_binlog_dump_gtid */ /* clang-format on */