--disable_warnings drop database if exists bug25830; create database bug25830; --enable_warnings use bug25830; set names utf8; create table `O` (id int); show table status from bug25830 like 'O'; show table status from bug25830 like 'o'; create table `Ö` (id int); show table status from bug25830 like 'Ö'; show table status from bug25830 like 'ö'; show table status from bug25830 like '%'; --disable_warnings drop database bug25830; --enable_warnings