Commit 0ae6ee55 authored by Elena Stepanova's avatar Elena Stepanova

Test fix: Mask server version in relaylog events output

parent d491302f
...@@ -29,13 +29,13 @@ mysqld-relay-bin-master1.000002 ...@@ -29,13 +29,13 @@ mysqld-relay-bin-master1.000002
mysqld-relay-bin-master1.index mysqld-relay-bin-master1.index
show relaylog events; show relaylog events;
Log_name Pos Event_type Server_id End_log_pos Info Log_name Pos Event_type Server_id End_log_pos Info
mysqld-relay-bin-master1.000001 4 Format_desc 3 246 Server ver: 10.0.0-MariaDB-debug-log, Binlog ver: 4 mysqld-relay-bin-master1.000001 4 Format_desc 3 246 Server version
mysqld-relay-bin-master1.000001 246 Rotate 3 304 mysqld-relay-bin-master1.000002;pos=4 mysqld-relay-bin-master1.000001 246 Rotate 3 304 mysqld-relay-bin-master1.000002;pos=4
show relaylog events in 'mysqld-relay-bin-master1.000002'; show relaylog events in 'mysqld-relay-bin-master1.000002';
Log_name Pos Event_type Server_id End_log_pos Info Log_name Pos Event_type Server_id End_log_pos Info
mysqld-relay-bin-master1.000002 4 Format_desc 3 246 Server ver: 10.0.0-MariaDB-debug-log, Binlog ver: 4 mysqld-relay-bin-master1.000002 4 Format_desc 3 246 Server version
mysqld-relay-bin-master1.000002 246 Rotate 1 0 master-bin.000001;pos=4 mysqld-relay-bin-master1.000002 246 Rotate 1 0 master-bin.000001;pos=4
mysqld-relay-bin-master1.000002 290 Format_desc 1 246 Server ver: 10.0.0-MariaDB-debug-log, Binlog ver: 4 mysqld-relay-bin-master1.000002 290 Format_desc 1 246 Server version
mysqld-relay-bin-master1.000002 532 Binlog_checkpoint 1 286 master-bin.000001 mysqld-relay-bin-master1.000002 532 Binlog_checkpoint 1 286 master-bin.000001
mysqld-relay-bin-master1.000002 572 Query 1 375 drop database if exists db1 mysqld-relay-bin-master1.000002 572 Query 1 375 drop database if exists db1
mysqld-relay-bin-master1.000002 661 Query 1 456 create database db1 mysqld-relay-bin-master1.000002 661 Query 1 456 create database db1
......
...@@ -57,7 +57,9 @@ select * from db1.t1; ...@@ -57,7 +57,9 @@ select * from db1.t1;
# Check that relay logs are recognizable # Check that relay logs are recognizable
--replace_regex /Server ver:.*/Server version/
show relaylog events; show relaylog events;
--replace_regex /Server ver:.*/Server version/
show relaylog events in 'mysqld-relay-bin-master1.000002'; show relaylog events in 'mysqld-relay-bin-master1.000002';
......
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