mirror of
https://github.com/MariaDB/server.git
synced 2026-05-10 17:14:30 +02:00
This patch adds options to annotate the binlog (and the mysqlbinlog output) with the original SQL query for queries that are logged using row-based replication.
5 lines
218 B
PHP
5 lines
218 B
PHP
--let $binlog_start=240
|
|
--replace_result $binlog_start <binlog_start>
|
|
--replace_column 2 # 5 #
|
|
--replace_regex /\/\* xid=.* \*\//\/* XID *\// /table_id: [0-9]+/table_id: #/
|
|
--eval show binlog events from $binlog_start
|