| 1 |
--source include/have_binlog_format_row.inc |
| 2 |
--source include/master-slave.inc |
| 3 |
|
| 4 |
--connection slave |
| 5 |
SET @row_image_save = @@global.binlog_row_image; |
| 6 |
SET GLOBAL binlog_row_image=MINIMAL; |
| 7 |
--source include/stop_slave.inc |
| 8 |
--source include/start_slave.inc |
| 9 |
|
| 10 |
--connection master |
| 11 |
SET binlog_row_image=MINIMAL; |
| 12 |
CREATE TABLE t (pk int primary key, a text, b text, unique(b)); |
| 13 |
INSERT INTO t VALUES (1,'foo', 'bar'); |
| 14 |
UPDATE t SET a = 'baz'; |
| 15 |
|
| 16 |
--sync_slave_with_master |
| 17 |
SET GLOBAL binlog_row_image = @row_image_save; |
| 18 |
|
| 19 |
--connection master |
| 20 |
DROP TABLE t; |
| 21 |
--source include/rpl_end.inc |