mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 22:12:30 +01:00
9b5a6748e0
Split rpl_row_charset into: - rpl_row_utf16. - rpl_row_utf32. This way these tests can run independently if server supports either one of the charsets but not both. Cleaned up rpl_row_utf32 which had a spurious instruction: -- let $reset_slave_type_conversions= 0
23 lines
533 B
Text
23 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;
|