mariadb/client
ParadoxV5 1fc37e5c4c
MDEV-34614 mysqlbinlog warn on EOF before GTID in --stop-position
This commit adds warnings for `--stop-position` GTIDs that were
not reached at EOF, mainly as a follow-up to MDEV-27037 “Mysqlbinlog
should output a warning if EOF is found before its stop condition”

`--stop-position` warnings inform possible mistakes in the input,
especially for progress reporting of scripts/wrappers.
MDEV-34614 enhances MDEV-27037 with individualized GTID validation, for
GTID range selection weren’t in all versions that MDEV-27037 targeted.

The `Gtid_event_filter` family provides the the warning
mechanism polymorphically and through the new public method
`verify_completed_state`. This design is hierarchically extensible
(e.g., to `--ignore-server-ids`).

This commit also includes minor touchups:
* `rpl_gtid.cc`: adjust cases when a `Window_gtid_event_filter` has only
  one of `--start-` and `--stop-position` (without intensive refactors)
* `rpl_gtid.cc`: function docs improvements
* `rpl_gtid.h`: Remove unimplemented, red-herring function prototype
  `Window_gtid_event_filter::verify_gtid_is_expected`
2025-02-16 18:49:36 -07: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 '10.6' into 10.11 2024-05-10 20:02:18 +02:00
CMakeLists.txt MDEV-33091 pcre2 headers aren't found on Solaris 2024-09-05 12:14:06 +10: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
echo.c Fix typos in the codebase. 2022-08-09 18:41:09 +03:00
mariadb-conv.cc mariadb-conv --character-sets-dir 2021-05-20 18:33:07 +02:00
my_readline.h Update FSF Address 2019-05-11 21:29:06 +03:00
mysql.cc Merge 10.6 into 10.11 2025-01-08 12:51:26 +02:00
mysql_plugin.c Fixed compiler warning from strncpy in mysql_plugin.c 2024-09-11 16:15:37 +03:00
mysql_upgrade.c Merge 10.6 into 10.11 2024-06-17 09:08:07 +03:00
mysqladmin.cc Merge 10.6 into 10.11 2024-05-30 16:04:00 +03:00
mysqlbinlog.cc MDEV-34614 mysqlbinlog warn on EOF before GTID in --stop-position 2025-02-16 18:49:36 -07:00
mysqlcheck.c Merge branch '10.6' into 10.11 2024-05-10 20:02:18 +02:00
mysqldump.c Merge branch '10.6' into 10.11 2025-01-30 11:55:13 +01:00
mysqlimport.c Merge 10.6 into 10.11 2024-12-19 15:38:53 +02:00
mysqlshow.c Merge branch '10.6' into 10.11 2024-05-10 20:02:18 +02:00
mysqlslap.c Merge branch '10.5' into 10.6 2024-05-08 20:06:00 +02:00
mysqltest.cc Merge branch '10.6' into 10.11 2025-01-10 13:14:42 +01:00
readline.cc MDEV-27142 disable text mode for Windows stdio by default 2022-07-18 13:18:03 +02:00