SET storage_engine = Falcon;
#
# Bug #24858: Falcon: searches fail if partial index on utf8 column
#
--echo *** Bug #24858 ***
--disable_warnings
DROP TABLE IF EXISTS t1;
--enable_warnings

SET NAMES utf8;
CREATE TABLE t1 (a char(5) character set utf8);
CREATE INDEX i on t1 (a(3));
INSERT INTO t1 VALUES ('abÜde');

SELECT * FROM t1 WHERE a = 'abÜde';

# Final cleanup.
DROP TABLE t1;
SET NAMES default;
