--source include/have_cp1250_ch.inc

SET NAMES utf8mb4;

--source strnxfrm_sp_create.inc

CREATE TABLE t0 (a TEXT CHARACTER SET utf8mb4);
INSERT INTO t0 VALUES (''),('c'),('h'),('C'),('H');
CREATE VIEW v0 AS SELECT CONCAT(t1.a, t2.a) AS str FROM t0 t1, t0 t2;

CREATE TABLE t1 (str TEXT CHARACTER SET cp1250 COLLATE cp1250_czech_cs);
INSERT INTO t1 SELECT * FROM v0;
CALL test_strnxfrm(10,12);
DROP TABLE t1;

DROP VIEW v0;
DROP TABLE t0;

--source strnxfrm_sp_drop.inc
