1#
2# Start of 10.5 tests
3#
4#
5# MDEV-27307 main.ctype_utf8mb4_uca_allkeys tests fail with Valgrind/MSAN
6#
7# In this scenario packing is fully disabled:
8# - The sortkey is of a fixed width data type
9# - The addon fields have too small potential savings
10SET NAMES latin1;
11CREATE TABLE t1 (
12code INT NOT NULL,
13str VARCHAR(5) CHARACTER SET latin1 NOT NULL
14) ENGINE=MyISAM;
15FOR i IN 0..50
16DO
17INSERT INTO t1 VALUES (i, REPEAT('a',1));
18END FOR;
19$$
20SELECT COUNT(*) FROM t1;
21COUNT(*)
2251
23SET sort_buffer_size=1024;
24SELECT HEX(code), HEX(str) FROM t1 ORDER BY HEX(str);
25SET sort_buffer_size=DEFAULT;
26DROP TABLE t1;
27#
28# End of 10.5 tests
29#
30