MDEV-30214: Generalize log filename in IO Error message

This commit is contained in:
Angelique 2023-05-25 23:10:53 +00:00
parent d1b1f8c9f2
commit 832b157bbe
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ FLUSH LOGS;
call mtr.add_suppression('Got fatal error 1236 from master when reading data from binary log: .*could not find next log');
connection slave;
include/wait_for_slave_io_error.inc [errno=1236]
Last_IO_Error = 'Got fatal error 1236 from master when reading data from binary log: 'could not find next log; the first event 'master-bin.000001' at XXX, the last event read from 'master-bin.000002' at XXX, the last byte read from 'master-bin.000002' at XXX.''
Last_IO_Error = 'Got fatal error 1236 from master when reading data from binary log: 'could not find next log; the first event 'FILE' at XXX, the last event read from 'master-bin.000002' at XXX, the last byte read from 'master-bin.000002' at XXX.''
connection master;
CREATE TABLE t2(c1 INT);
FLUSH LOGS;

View File

@ -62,7 +62,7 @@ connection slave;
--let $slave_io_errno= 1236
--let $show_slave_io_error= 1
# Mask line numbers
--let $slave_io_error_replace= / at [0-9]*/ at XXX/
--let $slave_io_error_replace= / at [0-9]*/ at XXX/ /the first event '(\.|master-bin.000001)'/the first event 'FILE'/
--source include/wait_for_slave_io_error.inc
connection master;