📄 ctype_utf8.test
字号:
## Tests with the utf8 character set#--disable_warningsdrop table if exists t1,t2;--enable_warningsset names utf8;select left(_utf8 0xD0B0D0B1D0B2,1);select right(_utf8 0xD0B0D0B2D0B2,1);select locate('he','hello');select locate('he','hello',2);select locate('lo','hello',2);select locate('HE','hello');select locate('HE','hello',2);select locate('LO','hello',2);select locate('HE','hello' collate utf8_bin);select locate('HE','hello' collate utf8_bin,2);select locate('LO','hello' collate utf8_bin,2);select locate(_utf8 0xD0B1, _utf8 0xD0B0D0B1D0B2);select locate(_utf8 0xD091, _utf8 0xD0B0D0B1D0B2);select locate(_utf8 0xD0B1, _utf8 0xD0B0D091D0B2);select locate(_utf8 0xD091, _utf8 0xD0B0D0B1D0B2 collate utf8_bin);select locate(_utf8 0xD0B1, _utf8 0xD0B0D091D0B2 collate utf8_bin);select length(_utf8 0xD0B1), bit_length(_utf8 0xD0B1), char_length(_utf8 0xD0B1);select 'a' like 'a';select 'A' like 'a';select 'A' like 'a' collate utf8_bin;select _utf8 0xD0B0D0B1D0B2 like concat(_utf8'%',_utf8 0xD0B1,_utf8 '%');# Bug #6040: can't retrieve records with umlaut# characters in case insensitive manner.# Case insensitive search LIKE comparison# was broken for multibyte characters:select convert(_latin1'G黱ter Andr
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -