1
--source include/have_ucs2.inc
4
drop table if exists `�ԣ�`;
5
drop table if exists `�ԣ�`;
6
drop table if exists `�ԣ�`;
7
drop table if exists `�ԣ�`;
8
drop table if exists `�ԣ�`;
9
drop table if exists `�ԣ�`;
10
drop table if exists `�ԣ�`;
11
drop table if exists `�ԣ�`;
12
drop table if exists `�ԣ�`;
13
drop table if exists `�ԣ���`;
14
drop table if exists `�ԣ���`;
15
drop table if exists `�ԣ���`;
19
# Test Updating with Japanese characters in ucs2 encoding
23
SET character_set_database = ucs2;
24
SET collation_connection = ucs2_general_ci;
26
CREATE TABLE `�ԣ�` (`�ã�` char(5), INDEX(`�ã�`)) DEFAULT CHARSET = ucs2 engine = innodb;
27
CREATE TABLE `�ԣ�` (`�ã�` char(5), INDEX(`�ã�`)) DEFAULT CHARSET = ucs2 engine = innodb;
28
CREATE TABLE `�ԣ�` (`�ã�` char(5), INDEX(`�ã�`)) DEFAULT CHARSET = ucs2 engine = innodb;
29
CREATE TABLE `�ԣ�` (`�ã�` char(5), INDEX(`�ã�`)) DEFAULT CHARSET = ucs2 engine = myisam;
30
CREATE TABLE `�ԣ�` (`�ã�` char(5), INDEX(`�ã�`)) DEFAULT CHARSET = ucs2 engine = myisam;
31
CREATE TABLE `�ԣ�` (`�ã�` char(5), INDEX(`�ã�`)) DEFAULT CHARSET = ucs2 engine = myisam;
32
CREATE TABLE `�ԣ�` (`�ã�` char(5), INDEX(`�ã�`)) DEFAULT CHARSET = ucs2 engine = heap;
33
CREATE TABLE `�ԣ�` (`�ã�` char(5), INDEX(`�ã�`)) DEFAULT CHARSET = ucs2 engine = heap;
34
CREATE TABLE `�ԣ�` (`�ã�` char(5), INDEX(`�ã�`)) DEFAULT CHARSET = ucs2 engine = heap;
35
CREATE TABLE `�ԣ���` (`�ã�` char(5), INDEX(`�ã�`)) DEFAULT CHARSET = ucs2 engine = bdb;
36
CREATE TABLE `�ԣ���` (`�ã�` char(5), INDEX(`�ã�`)) DEFAULT CHARSET = ucs2 engine = bdb;
37
CREATE TABLE `�ԣ���` (`�ã�` char(5), INDEX(`�ã�`)) DEFAULT CHARSET = ucs2 engine = bdb;
39
INSERT INTO `�ԣ�` VALUES ('����������');
40
INSERT INTO `�ԣ�` VALUES ('����������');
41
INSERT INTO `�ԣ�` VALUES ('���ݏ�ޏ�ߏ��');
42
INSERT INTO `�ԣ�` VALUES ('����������');
43
INSERT INTO `�ԣ�` VALUES ('����������');
44
INSERT INTO `�ԣ�` VALUES ('���ݏ�ޏ�ߏ��');
45
INSERT INTO `�ԣ�` VALUES ('����������');
46
INSERT INTO `�ԣ�` VALUES ('����������');
47
INSERT INTO `�ԣ�` VALUES ('���ݏ�ޏ�ߏ��');
48
INSERT INTO `�ԣ���` VALUES ('����������');
49
INSERT INTO `�ԣ���` VALUES ('����������');
50
INSERT INTO `�ԣ���` VALUES ('���ݏ�ޏ�ߏ��');
52
UPDATE `�ԣ�` SET `�ã�` = ('����������');
53
UPDATE `�ԣ�` SET `�ã�` = ('����������');
54
UPDATE `�ԣ�` SET `�ã�` = ('��ȏ�ɏ�ʏ�ˏ��');
55
UPDATE `�ԣ�` SET `�ã�` = ('����������');
56
UPDATE `�ԣ�` SET `�ã�` = ('����������');
57
UPDATE `�ԣ�` SET `�ã�` = ('��ȏ�ɏ�ʏ�ˏ��');
58
UPDATE `�ԣ�` SET `�ã�` = ('����������');
59
UPDATE `�ԣ�` SET `�ã�` = ('����������');
60
UPDATE `�ԣ�` SET `�ã�` = ('��ȏ�ɏ�ʏ�ˏ��');
61
UPDATE `�ԣ���` SET `�ã�` = ('����������');
62
UPDATE `�ԣ���` SET `�ã�` = ('����������');
63
UPDATE `�ԣ���` SET `�ã�` = ('��ȏ�ɏ�ʏ�ˏ��');
81
SELECT * FROM `�ԣ���`;
82
SELECT * FROM `�ԣ���`;
83
SELECT * FROM `�ԣ���`;