Fix rpl_log and rpl_rotate_logs test result

 - Remove the expected warrnings when "show binary logs" are called on zero size binary log files. 
parent ed6b9812
......@@ -71,15 +71,11 @@ show binary logs;
Log_name File_size
master-bin.000001 0
master-bin.000002 510
Warnings:
Error 29 File 'master-bin.000001' not found (Errcode: 2)
start slave;
show binary logs;
Log_name File_size
slave-bin.000001 0
slave-bin.000002 348
Warnings:
Error 29 File 'slave-bin.000001' not found (Errcode: 2)
show binlog events in 'slave-bin.000001' from 4;
Log_name Pos Event_type Server_id End_log_pos Info
slave-bin.000001 4 Format_desc 2 98 Server ver: VERSION, Binlog ver: 4
......
......@@ -30,9 +30,6 @@ Log_name File_size
master-bin.000001 0
master-bin.000002 0
master-bin.000003 98
Warnings:
Error 29 File 'master-bin.000001' not found (Errcode: 2)
Error 29 File 'master-bin.000002' not found (Errcode: 2)
create table t3 select * from temp_table;
select * from t3;
a
......@@ -48,15 +45,11 @@ show master logs;
Log_name File_size
master-bin.000002 0
master-bin.000003 407
Warnings:
Error 29 File 'master-bin.000002' not found (Errcode: 2)
purge binary logs to 'master-bin.000002';
show binary logs;
Log_name File_size
master-bin.000002 0
master-bin.000003 407
Warnings:
Error 29 File 'master-bin.000002' not found (Errcode: 2)
purge master logs before now();
show binary logs;
Log_name File_size
......@@ -84,9 +77,6 @@ Log_name File_size
master-bin.000003 0
master-bin.000004 0
master-bin.000005 2032
Warnings:
Error 29 File 'master-bin.000003' not found (Errcode: 2)
Error 29 File 'master-bin.000004' not found (Errcode: 2)
show master status;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000005 2032
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment