MDEV-35528: mariadb-binlog cannot process more than 1 logfiles when --stop-datetime...
authorXiaochuan Cui <xiaochuc@amazon.com>
Fri, 29 Nov 2024 21:52:19 +0000 (13:52 -0800)
committerOtto Kekäläinen <otto@debian.org>
Sun, 12 Jan 2025 22:10:40 +0000 (14:10 -0800)
commit6fc68e64b4a58363a5d5572097742cb7bd13eea4
tree2b8a0f9c466b375f6b3a509eabcd121e263a9a77
parent663f8abf95440daf17c16f4149117f0437315cf1
MDEV-35528: mariadb-binlog cannot process more than 1 logfiles when --stop-datetime is specified

Fix regression introduced by commits 9588526 and 242b67f which attempted to
address MDEV-27037. With the regression, mariadb-binlog cannot process multiple
log files when --stop-datetime is specified.

Remove the code to set retval as OK_STOP if mariadb-binlog finished processing
current log file but not reached specified --stop-datetime or --stop-position,
to make it possible to continue process following log files.

All new code of the whole pull request, including one or several files that are
either new files or modified ones, are contributed under the BSD-new license. I
am contributing on behalf of my employer Amazon Web Services, Inc.

Forwarded: https://github.com/MariaDB/server/pull/3670
Origin: https://patch-diff.githubusercontent.com/raw/MariaDB/server/pull/3670.patch

Gbp-Pq: Name MDEV-35528-mariadb-binlog-cannot-process-more-than-1-logf.patch
client/mysqlbinlog.cc