mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +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
|
||||
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
|
||||
|
Reference in New Issue
Block a user