Commit c31094fa authored by unknown's avatar unknown
Browse files

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. 


mysql-test/r/rpl_log.result:
  Remove the warnings that is no longer displayed when "show binary logs" is called on zero size log files. 
  Checked against 4.0, no warnings there.
mysql-test/r/rpl_rotate_logs.result:
  Remove the warnings that is no longer displayed when "show binary logs" is called on zero size log files. 
  Checked against 4.0, no warnings there.
parent 9c25429c
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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
+0 −10
Original line number Diff line number Diff line
@@ -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