1
-- source include/have_gb2312.inc
4
# Tests with the gb2312 character set
7
drop table if exists t1;
10
SET @test_character_set= 'gb2312';
11
SET @test_collation= 'gb2312_chinese_ci';
12
-- source include/ctype_common.inc
15
SET collation_connection='gb2312_chinese_ci';
16
-- source include/ctype_filesort.inc
17
-- source include/ctype_innodb_like.inc
18
-- source include/ctype_like_escape.inc
19
SET collation_connection='gb2312_bin';
20
-- source include/ctype_filesort.inc
21
-- source include/ctype_innodb_like.inc
22
-- source include/ctype_like_escape.inc
25
# Bug#15377 Valid multibyte sequences are truncated on INSERT
28
CREATE TABLE t1 (a text) character set gb2312;
29
INSERT INTO t1 VALUES (0xA2A1),(0xD7FE);
30
SELECT hex(a) FROM t1 ORDER BY a;