summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/rpl/r/rpl_bug41902.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/rpl/r/rpl_bug41902.result')
-rw-r--r--mysql-test/suite/rpl/r/rpl_bug41902.result37
1 files changed, 37 insertions, 0 deletions
diff --git a/mysql-test/suite/rpl/r/rpl_bug41902.result b/mysql-test/suite/rpl/r/rpl_bug41902.result
new file mode 100644
index 00000000..7d676ea7
--- /dev/null
+++ b/mysql-test/suite/rpl/r/rpl_bug41902.result
@@ -0,0 +1,37 @@
+include/master-slave.inc
+[connection master]
+connection slave;
+stop slave;
+SET @saved_dbug = @@GLOBAL.debug_dbug;
+SET @@debug_dbug="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_dbug="";
+reset slave;
+change master to master_host='dummy';
+SET @@debug_dbug="d,simulate_find_log_pos_error";
+change master to master_host='dummy';
+ERROR HY000: Target log not found in binlog index
+SET @@debug_dbug="";
+reset slave;
+change master to master_host='dummy';
+connection master;
+SET @saved_dbug_m = @@global.debug_dbug;
+SET @@debug_dbug="d,simulate_find_log_pos_error";
+reset master;
+ERROR HY000: Target log not found in binlog index
+SET @@debug_dbug="";
+reset master;
+SET @@debug_dbug="d,simulate_find_log_pos_error";
+purge binary logs to 'master-bin.000001';
+ERROR HY000: Target log not found in binlog index
+SET @@debug_dbug="";
+purge binary logs to 'master-bin.000001';
+SET @@GLOBAL.debug_dbug = @saved_dbug;
+==== clean up ====
+CHANGE MASTER TO MASTER_HOST = '127.0.0.1';
+include/rpl_end.inc