1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

fixing the 5.1-opt merge of the fix for bug 29571:

cannot check the statments in the binlog for row based 
replication.
This commit is contained in:
unknown
2007-07-27 17:29:48 +03:00
parent 78587a08ac
commit d47763406d
2 changed files with 27 additions and 26 deletions

View File

@ -46,29 +46,17 @@ id name
USE test;
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;