mariadb/client
Kristian Nielsen a7b4077ca8 Binlog-in-engine: Make binlog file name available on slave
In the new binlog implementation, GTID is the only method available to
identify binlog positions, and the old-style filename/offset is not 100%
meaningful, as a transaction or even single event can span multiple binlog
files.

However, having at least a filename available on the slave is still useful
eg. for debugging purposes if the slave halts with an error; for example to
know which file to run mariadb-binlog on.

This patch makes the binlog dump thread send fake rotate events containing
approximate file name for GTID events. This provides the file name to the
slave. The offset is always sent as 0.

Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
2025-09-16 13:18:54 +02:00
..
async_example.c MDEV-25602 get rid of __WIN__ in favor of standard _WIN32 2021-06-06 13:21:03 +02:00
client_metadata.h MDEV-17832 Protocol: extensions for Pluggable types and JSON, GEOMETRY 2020-03-10 20:43:32 +04:00
client_priv.h Merge branch '11.2' into 11.4 2024-05-21 19:38:51 +02:00
CMakeLists.txt Binlog-in-engine: Support for new binlog format in mysqlbinlog 2025-09-03 18:28:22 +02:00
completion_hash.cc Merge 10.4 into 10.5 2020-11-03 16:24:47 +02:00
completion_hash.h Update FSF Address 2019-05-11 21:29:06 +03:00
connection_pool.cc MDEV-32216 Connection pool with asynchronous query execution. 2024-01-29 11:54:37 +01:00
connection_pool.h MDEV-32216 Connection pool with asynchronous query execution. 2024-01-29 11:54:37 +01:00
echo.c Fix typos in the codebase. 2022-08-09 18:41:09 +03:00
mariadb-conv.cc unify client/tool version string 2023-01-19 12:39:28 +01:00
my_readline.h Update FSF Address 2019-05-11 21:29:06 +03:00
mysql.cc Merge 10.11 into 11.4 2025-09-03 10:32:56 +03:00
mysql_plugin.c Merge branch '10.11' into 11.2 2024-09-18 10:45:26 +10:00
mysql_upgrade.c Merge branch '10.11' into 11.4 2025-03-31 22:28:52 +02:00
mysqladmin.cc Merge remote-tracking branch 'origin/11.2' into 11.4 2024-06-17 15:46:39 +04:00
mysqlbinlog-engine.cc Binlog-in-engine: Better error message for mysqlbinlog on empty, pre-allocated file 2025-09-16 13:18:54 +02:00
mysqlbinlog-engine.h Binlog-in-engine: Better error message for mysqlbinlog on empty, pre-allocated file 2025-09-16 13:18:54 +02:00
mysqlbinlog.cc Binlog-in-engine: Make binlog file name available on slave 2025-09-16 13:18:54 +02:00
mysqlcheck.c Merge branch '10.11' into 11.4 2025-06-17 09:50:22 +02:00
mysqldump.cc Merge branch '10.11' into 11.4 2025-07-28 19:40:10 +02:00
mysqlimport.c Merge 10.6 into 10.11 2024-12-19 15:38:53 +02:00
mysqlshow.c Merge branch '11.2' into 11.4 2024-05-21 19:38:51 +02:00
mysqlslap.c Merge branch '10.11' into 11.4 2025-06-17 09:50:22 +02:00
mysqltest.cc Merge branch '10.11' into 11.4 2025-07-28 19:40:10 +02:00
readline.cc MDEV-27142 disable text mode for Windows stdio by default 2022-07-18 13:18:03 +02:00