diff options
author | Kristian Nielsen <knielsen@knielsen-hq.org> | 2014-06-30 13:59:21 +0200 |
---|---|---|
committer | Kristian Nielsen <knielsen@knielsen-hq.org> | 2014-06-30 13:59:21 +0200 |
commit | 439f75f849b9ab63fc65e2bd37af5c3429ffc1da (patch) | |
tree | 58409a6b57c88e83fb10536b4145a685e9b0645f /mysql-test/include/maria_empty_logs.inc | |
parent | 370318f8948a9f6f4366588beff4f3b8b4344a20 (diff) | |
download | mariadb-git-439f75f849b9ab63fc65e2bd37af5c3429ffc1da.tar.gz |
Fix test failures in rpl.rpl_checksum and rpl.rpl_gtid_errorlog.
These tests use search_pattern_in_file.inc to search the error log for
expected output. However, search_pattern_in_file.inc by default searched only
the first 50000 bytes, so if the error log grew too big the tests would fail.
This patch extends search_pattern_in_file.inc with an option to specify how
much of the file to search, and whether to search from the start of the file
or from the end. Then the rpl.rpl_checksum and rpl.rpl_gtid_errorlog test
cases are fixed to search the last 50000 bytes of the error log, which will
work no matter how large prior tests have made it.
Diffstat (limited to 'mysql-test/include/maria_empty_logs.inc')
0 files changed, 0 insertions, 0 deletions