SET STORAGE_ENGINE = Falcon;
*** Bug #22179 ***
DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (a char(5) CHARACTER SET ucs2);
INSERT INTO t1 VALUES ('aa'), ('!'), ('aaa'), ('ab'), ('c');
CREATE INDEX i1 ON t1 (a);
SELECT * FROM t1 WHERE a LIKE '__a';
a
aaa
SELECT * FROM t1
WHERE a = 'aa' OR a = '!' OR a = 'aaa' OR a = 'ab' OR a = 'c'
  ORDER BY a;
a
!
aa
aaa
ab
c
SELECT count(*) FROM t1;
count(*)
5
DROP TABLE t1;
