mariadb/mysql-test/suite
Sujatha a6dd827a4d MDEV-18046: Assortment of crashes, assertion failures and ASAN errors in mysql_show_binlog_events
Problem:
========
SHOW BINLOG EVENTS FROM <pos> causes a variety of failures, some of which are
listed below. It is not a race condition issue, but there is some
non-determinism in it.

Analysis:
========
"show binlog events from <pos>" code considers the user given position as a
valid event start position. The code starts reading data from this event start
position onwards and tries to map it to a set of known events. Each event has
a specific event structure and asserts have been added to ensure that read
event data satisfies the event specific requirements. When a random position
is supplied to "show binlog events command" the event structure specific
checks will fail and they result in assert.

Fix:
====
The fix is split into different parts. Each part addresses either an ASAN
issue or an assert/crash.

**Part1: Checksum based position validation when checksum is enabled**


Using checksum validate the very first event read at the user specified
position. If there is a checksum mismatch report an appropriate error for the
invalid event.
2020-01-07 18:27:05 +05:30
..
archive MDEV-17297: stats.records=0 for a table of Archive engine when it has rows, when we run ANALYZE command 2019-04-18 23:12:43 +03:00
binlog MDEV-18046: Assortment of crashes, assertion failures and ASAN errors in mysql_show_binlog_events 2020-01-07 18:27:05 +05:30
binlog_encryption MDEV-20953: binlog_encryption.rpl_corruption failed in buildbot due to wrong error code 2019-11-12 16:31:08 +05:30
csv
encryption MDEV-16111 encryption.innodb_lotoftables failed in buildbot with wrong result 2019-06-12 19:08:49 +03:00
engines Merge branch '10.0' into 10.1 2018-11-15 17:20:26 +01:00
federated
funcs_1 MDEV-15945 --ps-protocol does not test some queries 2019-03-12 13:10:49 +01:00
funcs_2
galera MDEV-19572 async slave node fails to apply MyISAM only writes (#1418) 2019-11-26 08:49:50 +02:00
galera_3nodes MDEV-16021: galera mtr test galera_evs_suspect_timeout crashed 2019-05-17 08:29:45 +03:00
handler MDEV-15945 --ps-protocol does not test some queries 2019-03-12 13:10:49 +01:00
heap Merge remote-tracking branch 'origin/5.5-galera' into 10.0-galera 2018-10-30 13:22:52 +02:00
innodb MDEV-20354 All but last insert ignored in InnoDB tables when table locked 2019-10-30 23:14:44 +01:00
innodb_fts MDEV-20987 InnoDB fails to start when fts table has FK relation 2019-11-06 08:12:00 +02:00
innodb_zip
jp
large_tests
maria MDEV-18094: Query with order by limit picking index scan over filesort 2019-09-21 12:14:05 +05:30
mariabackup MDEV-12711 mariabackup --backup is refused for multi-file system tablespace 2019-03-26 13:51:15 +02:00
mtr/t
mtr2
multi_source MDEV-8874 Replication filters configured in my.cnf are ignored if slave reset and reconfigured 2019-06-27 09:54:20 +05:30
optimizer_unfixed_bugs
parts Merge 5.5 into 10.1 2019-10-11 15:19:55 +03:00
percona
perfschema MDEV-17896 Assertion `pfs->get_refcount() > 0' failed 2019-11-01 11:10:04 +02:00
perfschema_stress Update FSF Address 2019-05-11 21:29:06 +03:00
plugins MDEV-18686 Add option to PAM authentication plugin to allow case insensitive username matching 2019-04-24 16:06:54 +02:00
roles MDEV-18298 Crashes server with segfault during role grants 2019-04-02 18:22:37 +02:00
rpl MDEV-20953: binlog_encryption.rpl_corruption failed in buildbot due to wrong error code 2019-11-12 16:31:08 +05:30
storage_engine Merge 10.0 into 10.1 2019-03-27 11:56:08 +02:00
stress
sys_vars XtraDB 5.6.45-86.1 2019-10-30 13:21:36 +02:00
unit Merge branch '5.5' into 10.0 2018-06-21 00:44:10 +02:00
vcol Merge 10.0 into 10.1 2019-03-27 11:56:08 +02:00
wsrep MDEV-21209 : mysql_tzinfo_to_sql's Galera checks do not work 2019-12-05 12:41:13 +02:00