include/master-slave.inc
[connection master]
connection slave;
SET @row_image_save = @@global.binlog_row_image;
SET GLOBAL binlog_row_image=MINIMAL;
include/stop_slave.inc
include/start_slave.inc
connection master;
SET binlog_row_image=MINIMAL;
CREATE TABLE t (pk int primary key, a text, b text, unique(b));
INSERT INTO t VALUES (1,'foo', 'bar');
UPDATE t SET a = 'baz';
connection slave;
SET GLOBAL binlog_row_image = @row_image_save;
connection master;
DROP TABLE t;
include/rpl_end.inc
