| 1 |
include/master-slave.inc |
| 2 |
[connection master] |
| 3 |
CREATE TABLE t1(c1 CHAR(10) CHARACTER SET utf16 DEFAULT 'ola'); |
| 4 |
INSERT INTO t1 VALUES ('abc'); |
| 5 |
INSERT INTO t1 VALUES (); |
| 6 |
SELECT c1, hex(c1) from t1; |
| 7 |
c1 abc |
| 8 |
hex(c1) 006100620063 |
| 9 |
c1 ola |
| 10 |
hex(c1) 006F006C0061 |
| 11 |
connection slave; |
| 12 |
SELECT c1, hex(c1) FROM t1; |
| 13 |
c1 abc |
| 14 |
hex(c1) 006100620063 |
| 15 |
c1 ola |
| 16 |
hex(c1) 006F006C0061 |
| 17 |
include/diff_tables.inc [master:t1,slave:t1] |
| 18 |
connection master; |
| 19 |
DROP TABLE t1; |
| 20 |
include/rpl_end.inc |