⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ctype_gbk.test

📁 这是linux下运行的mysql软件包,可用于linux 下安装 php + mysql + apach 的网络配置
💻 TEST
字号:
-- source include/have_gbk.inc## Tests with the gbk character set#--disable_warningsdrop table if exists t1;--enable_warningsSET @test_character_set= 'gbk';SET @test_collation= 'gbk_chinese_ci';-- source include/ctype_common.incSET NAMES gbk;SET collation_connection='gbk_chinese_ci';-- source include/ctype_filesort.inc-- source include/ctype_innodb_like.inc-- source include/ctype_like_escape.incSET collation_connection='gbk_bin';-- source include/ctype_filesort.inc-- source include/ctype_innodb_like.inc-- source include/ctype_like_escape.inc## Bug#11987 mysql will truncate the text when# the text contain GBK char:"0xA3A0" and "0xA1"#SET NAMES gbk;CREATE TABLE t1 (a text) character set gbk;INSERT INTO t1 VALUES (0xA3A0),(0xA1A1);SELECT hex(a) FROM t1 ORDER BY a;DROP TABLE t1;## Bugs#15375: Unassigned multibyte codes are broken# into parts when converting to Unicode.# This query should return 0x003F0041. I.e. it should# scan unassigned double-byte character 0xA140, convert# it as QUESTION MARK 0x003F and then scan the next# character, which is a single byte character 0x41.#select hex(convert(_gbk 0xA14041 using ucs2));# End of 4.1 tests

⌨️ 快捷键说明

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