mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
portation of the test case for bug 29571 to cover row replication
This commit is contained in:
@ -45,4 +45,30 @@ id name
|
|||||||
20 is Bond
|
20 is Bond
|
||||||
USE test;
|
USE test;
|
||||||
DROP SCHEMA mysqlslap;
|
DROP SCHEMA mysqlslap;
|
||||||
|
use test;
|
||||||
|
FLUSH LOGS;
|
||||||
|
FLUSH LOGS;
|
||||||
|
CREATE TABLE t1(a int, UNIQUE(a));
|
||||||
|
INSERT DELAYED IGNORE INTO t1 VALUES(1);
|
||||||
|
INSERT DELAYED IGNORE INTO t1 VALUES(1);
|
||||||
|
flush table t1;
|
||||||
|
show binlog events in 'master-bin.000002' LIMIT 2,2;
|
||||||
|
Log_name Pos Event_type Server_id End_log_pos Info
|
||||||
|
x x x x x table_id: 23 (test.t1)
|
||||||
|
x x x x x table_id: 23 flags: STMT_END_F
|
||||||
|
select * from t1;
|
||||||
|
a
|
||||||
|
1
|
||||||
|
On slave
|
||||||
|
show binlog events in 'slave-bin.000002' LIMIT 2,2;
|
||||||
|
Log_name Pos Event_type Server_id End_log_pos Info
|
||||||
|
x x x x x table_id: 23 (test.t1)
|
||||||
|
x x x x x table_id: 23 flags: STMT_END_F
|
||||||
|
select * from t1;
|
||||||
|
a
|
||||||
|
1
|
||||||
|
drop table t1;
|
||||||
|
FLUSH LOGS;
|
||||||
|
FLUSH LOGS;
|
||||||
|
End of 5.0 tests
|
||||||
set @@global.binlog_format = @old_global_binlog_format;
|
set @@global.binlog_format = @old_global_binlog_format;
|
||||||
|
Reference in New Issue
Block a user