mirror of
https://github.com/MariaDB/server.git
synced 2025-12-04 17:23:46 +03:00
The MTR test rpl.rpl_semi_sync_slave_compressed_protocol scans the log file to ensure there is no magic number error. It attempts to only scan the log files of the current test; however, the variable which controls this, , is initialized incorrectly, and it thereby scans the entire log file, which includes output from prior tests. This causes it to fail if a test which expects this error runs previously on the same worker. This patch fixes the assert_only_after so the test only scans through its own log contents.
How to run. =========== ./mysql-test-run.pl --suite=rpl --mysqld=--binlog-format=mixed