SET STORAGE_ENGINE = Falcon;
#
# Mantis bug #135: Non-western-collation searches fail if index exists
#
--echo *** Bug #135 ***
--disable_warnings
DROP TABLE IF EXISTS i;
--enable_warnings

SET NAMES utf8;
CREATE TABLE i (
  i char(1) CHARACTER SET utf8 COLLATE utf8_turkish_ci
);
INSERT INTO i VALUES ('i'),('ı');
SELECT * FROM i WHERE i = 'i';
CREATE INDEX i ON i (i);
SELECT * FROM i WHERE i = 'i';

# Final cleanup
DROP TABLE i;
