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