CREATE TABLE bug52199 (a INT NOT NULL, b CHAR(125) CHARACTER SET utf32 COLLATE utf32_bin NOT NULL )ENGINE=InnoDB; CREATE UNIQUE INDEX idx ON bug52199(a); DROP TABLE bug52199;