mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
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.
This commit is contained in:
@ -71,15 +71,11 @@ show binary logs;
|
|||||||
Log_name File_size
|
Log_name File_size
|
||||||
master-bin.000001 0
|
master-bin.000001 0
|
||||||
master-bin.000002 510
|
master-bin.000002 510
|
||||||
Warnings:
|
|
||||||
Error 29 File 'master-bin.000001' not found (Errcode: 2)
|
|
||||||
start slave;
|
start slave;
|
||||||
show binary logs;
|
show binary logs;
|
||||||
Log_name File_size
|
Log_name File_size
|
||||||
slave-bin.000001 0
|
slave-bin.000001 0
|
||||||
slave-bin.000002 348
|
slave-bin.000002 348
|
||||||
Warnings:
|
|
||||||
Error 29 File 'slave-bin.000001' not found (Errcode: 2)
|
|
||||||
show binlog events in 'slave-bin.000001' from 4;
|
show binlog events in 'slave-bin.000001' from 4;
|
||||||
Log_name Pos Event_type Server_id End_log_pos Info
|
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
|
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.000001 0
|
||||||
master-bin.000002 0
|
master-bin.000002 0
|
||||||
master-bin.000003 98
|
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;
|
create table t3 select * from temp_table;
|
||||||
select * from t3;
|
select * from t3;
|
||||||
a
|
a
|
||||||
@ -48,15 +45,11 @@ show master logs;
|
|||||||
Log_name File_size
|
Log_name File_size
|
||||||
master-bin.000002 0
|
master-bin.000002 0
|
||||||
master-bin.000003 407
|
master-bin.000003 407
|
||||||
Warnings:
|
|
||||||
Error 29 File 'master-bin.000002' not found (Errcode: 2)
|
|
||||||
purge binary logs to 'master-bin.000002';
|
purge binary logs to 'master-bin.000002';
|
||||||
show binary logs;
|
show binary logs;
|
||||||
Log_name File_size
|
Log_name File_size
|
||||||
master-bin.000002 0
|
master-bin.000002 0
|
||||||
master-bin.000003 407
|
master-bin.000003 407
|
||||||
Warnings:
|
|
||||||
Error 29 File 'master-bin.000002' not found (Errcode: 2)
|
|
||||||
purge master logs before now();
|
purge master logs before now();
|
||||||
show binary logs;
|
show binary logs;
|
||||||
Log_name File_size
|
Log_name File_size
|
||||||
@ -84,9 +77,6 @@ Log_name File_size
|
|||||||
master-bin.000003 0
|
master-bin.000003 0
|
||||||
master-bin.000004 0
|
master-bin.000004 0
|
||||||
master-bin.000005 2032
|
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;
|
show master status;
|
||||||
File Position Binlog_Do_DB Binlog_Ignore_DB
|
File Position Binlog_Do_DB Binlog_Ignore_DB
|
||||||
master-bin.000005 2032
|
master-bin.000005 2032
|
||||||
|
Reference in New Issue
Block a user