mirror of
https://github.com/MariaDB/server.git
synced 2025-01-21 06:22:28 +01:00
092d50389e
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
25 lines
890 B
Text
25 lines
890 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;
|
|
SET SQL_LOG_BIN=0;
|
|
CREATE TABLE t1 (c1 char(255) DEFAULT NULL, KEY c1 (c1)) DEFAULT CHARSET=utf32;
|
|
Warnings:
|
|
Warning 1071 Specified key was too long; max key length is 1000 bytes
|
|
SET SQL_LOG_BIN=1;
|
|
SET @saved_slave_type_conversions= @@global.slave_type_conversions;
|
|
include/stop_slave.inc
|
|
SET GLOBAL SLAVE_TYPE_CONVERSIONS='ALL_NON_LOSSY';
|
|
include/start_slave.inc
|
|
SET SQL_LOG_BIN=0;
|
|
CREATE TABLE t1 ( c1 varchar(255) DEFAULT NULL, KEY c1 (c1)) DEFAULT CHARSET=utf32;
|
|
Warnings:
|
|
Warning 1071 Specified key was too long; max key length is 1000 bytes
|
|
SET SQL_LOG_BIN=1;
|
|
INSERT INTO t1(c1) VALUES ('insert into t1');
|
|
DROP TABLE t1;
|
|
SET GLOBAL SLAVE_TYPE_CONVERSIONS= @saved_slave_type_conversions;
|
|
include/stop_slave.inc
|
|
include/start_slave.inc
|