mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 12:01:42 +01:00
24 lines
533 B
Text
24 lines
533 B
Text
|
stop slave;
|
||
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
||
|
reset master;
|
||
|
reset slave;
|
||
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
||
|
start slave;
|
||
|
CREATE TABLE t1(c1 CHAR(10) CHARACTER SET utf16 DEFAULT 'ola');
|
||
|
INSERT INTO t1 VALUES ('abc');
|
||
|
INSERT INTO t1 VALUES ();
|
||
|
#### ON MASTER
|
||
|
SELECT c1, hex(c1) from t1;
|
||
|
c1 abc
|
||
|
hex(c1) 006100620063
|
||
|
c1 ola
|
||
|
hex(c1) 006F006C0061
|
||
|
#### ON SLAVE
|
||
|
SELECT c1, hex(c1) FROM t1;
|
||
|
c1 abc
|
||
|
hex(c1) 006100620063
|
||
|
c1 ola
|
||
|
hex(c1) 006F006C0061
|
||
|
Comparing tables master:test.t1 and slave:test.t1
|
||
|
DROP TABLE t1;
|