*** Bug #30480 ***
SET @@storage_engine = 'Falcon';
DROP TABLE IF EXISTS t1;
DROP TABLE IF EXISTS t2;
SET NAMES utf8;
CREATE TABLE t1 (s1 varchar(5) CHARACTER SET latin1, INDEX id (s1));
CREATE TABLE t2 (s1 varchar(5) CHARACTER SET latin1, INDEX id (s1)) partition by key(s1);
INSERT INTO t1 VALUES (0x8e);
INSERT INTO t1 VALUES ('AA');
INSERT INTO t2 VALUES (0x8e);
INSERT INTO t2 VALUES ('AA');
SELECT s1, HEX(s1) FROM t1;
s1	HEX(s1)
Ž	8E
AA	4141
SELECT s1, HEX(s1) FROM t2;
s1	HEX(s1)
Ž	8E
AA	4141
SELECT s1, HEX(s1) FROM t1 WHERE s1 like 'A%';
s1	HEX(s1)
AA	4141
SELECT s1, HEX(s1) FROM t2 WHERE s1 like 'A%';
s1	HEX(s1)
AA	4141
SELECT count(*) FROM t1;
count(*)
2
SELECT count(*) FROM t2;
count(*)
2
DROP TABLE t1;
DROP TABLE t2;
