ctype_innodb_like.inc

来自「这是linux下运行的mysql软件包,可用于linux 下安装 php + m」· INC 代码 · 共 22 行

INC
22
字号
## Bug#11650: LIKE pattern matching using prefix index# doesn't return correct result#--disable_warnings## This query creates a column using# character_set_connection and# collation_connection.#create table t1 engine=innodb select repeat('a',50) as c1;--enable_warningsalter table t1 add index(c1(5));insert into t1 values ('abcdefg'),('abcde100'),('abcde110'),('abcde111');select collation(c1) from t1 limit 1;select c1 from t1 where c1 like 'abcdef%' order by c1;select c1 from t1 where c1 like 'abcde1%' order by c1;select c1 from t1 where c1 like 'abcde11%' order by c1;select c1 from t1 where c1 like 'abcde111%' order by c1;drop table t1;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?