mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Bug #48463 backporting from 6.0-rpl to celosia a set of bugs
The mentioned on the bug report set of bugs fixes have not be pushed to the main trees. Fixed with extracting commits done to 6.0-rpl tree and applying them to the main 5.1. Notes. 1. part of changes - the mtr's specific - were packported to the main 5.0 tree for mtr v1 as http://lists.mysql.com/commits/46562 However, there is no that fix anymore in the mtr v2. (This fact was mailed to mtr maintaining people). 2. Bug@36929 crash in kill_zombie_dump_threads-> THD::awake() with replication tests is not backported because the base code of the patch is libevent and that was removed from the main trees due to its instability. client/mysqlbinlog.cc: fixes for BUG#35546 mysql-test/suite/rpl/r/rpl_bug41902.result: the new tests result file is added. mysql-test/suite/rpl/t/rpl_bug41902-slave.opt: conf file for bug41902 testing is added. mysql-test/suite/rpl/t/rpl_bug41902.test: regression tests for Bug #41902 is added. sql/log.cc: collection of changes due to Bug #48463. sql/log.h: collection of changes due to Bug #48463. sql/rpl_rli.h: collection of changes due to Bug #48463. sql/slave.cc: collection of changes due to Bug #48463. sql/sql_repl.cc: collection of changes due to Bug #48463.
This commit is contained in:
34
mysql-test/suite/rpl/r/rpl_bug41902.result
Normal file
34
mysql-test/suite/rpl/r/rpl_bug41902.result
Normal file
@ -0,0 +1,34 @@
|
||||
stop slave;
|
||||
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
||||
reset master;
|
||||
reset slave;
|
||||
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
||||
start slave;
|
||||
stop slave;
|
||||
SET @@debug="d,simulate_find_log_pos_error";
|
||||
reset slave;
|
||||
ERROR HY000: Target log not found in binlog index
|
||||
show warnings;
|
||||
Level Code Message
|
||||
Error 1373 Target log not found in binlog index
|
||||
Error 1371 Failed purging old relay logs: Failed during log reset
|
||||
SET @@debug="";
|
||||
reset slave;
|
||||
change master to master_host='dummy';
|
||||
SET @@debug="d,simulate_find_log_pos_error";
|
||||
change master to master_host='dummy';
|
||||
ERROR HY000: Target log not found in binlog index
|
||||
SET @@debug="";
|
||||
reset slave;
|
||||
change master to master_host='dummy';
|
||||
SET @@debug="d,simulate_find_log_pos_error";
|
||||
reset master;
|
||||
ERROR HY000: Target log not found in binlog index
|
||||
SET @@debug="";
|
||||
reset master;
|
||||
SET @@debug="d,simulate_find_log_pos_error";
|
||||
purge binary logs to 'master-bin.000001';
|
||||
ERROR HY000: Target log not found in binlog index
|
||||
SET @@debug="";
|
||||
purge binary logs to 'master-bin.000001';
|
||||
End of the tests
|
Reference in New Issue
Block a user