3
drop table if exists `�s�P`;
4
drop table if exists `�s�Q`;
5
drop table if exists `�s�R`;
6
drop table if exists `�s�S`;
7
drop table if exists `�s�T`;
8
drop table if exists `�s�U`;
9
drop table if exists `�s�V`;
10
drop table if exists `�s�W`;
11
drop table if exists `�s�X`;
12
drop table if exists `�s�P�O`;
13
drop table if exists `�s�P�P`;
14
drop table if exists `�s�P�Q`;
18
# Test Updating with Japanese characters in sjis encoding
22
SET character_set_database = sjis;
24
CREATE TABLE `�s�P` (`�b�P` char(5), INDEX(`�b�P`)) DEFAULT CHARSET = sjis engine = innodb;
25
CREATE TABLE `�s�Q` (`�b�P` char(5), INDEX(`�b�P`)) DEFAULT CHARSET = sjis engine = innodb;
26
CREATE TABLE `�s�R` (`�b�P` char(5), INDEX(`�b�P`)) DEFAULT CHARSET = sjis engine = innodb;
27
CREATE TABLE `�s�S` (`�b�P` char(5), INDEX(`�b�P`)) DEFAULT CHARSET = sjis engine = myisam;
28
CREATE TABLE `�s�T` (`�b�P` char(5), INDEX(`�b�P`)) DEFAULT CHARSET = sjis engine = myisam;
29
CREATE TABLE `�s�U` (`�b�P` char(5), INDEX(`�b�P`)) DEFAULT CHARSET = sjis engine = myisam;
30
CREATE TABLE `�s�V` (`�b�P` char(5), INDEX(`�b�P`)) DEFAULT CHARSET = sjis engine = heap;
31
CREATE TABLE `�s�W` (`�b�P` char(5), INDEX(`�b�P`)) DEFAULT CHARSET = sjis engine = heap;
32
CREATE TABLE `�s�X` (`�b�P` char(5), INDEX(`�b�P`)) DEFAULT CHARSET = sjis engine = heap;
33
CREATE TABLE `�s�P�O` (`�b�P` char(5), INDEX(`�b�P`)) DEFAULT CHARSET = sjis engine = bdb;
34
CREATE TABLE `�s�P�P` (`�b�P` char(5), INDEX(`�b�P`)) DEFAULT CHARSET = sjis engine = bdb;
35
CREATE TABLE `�s�P�Q` (`�b�P` char(5), INDEX(`�b�P`)) DEFAULT CHARSET = sjis engine = bdb;
37
INSERT INTO `�s�P` VALUES ('�����');
38
INSERT INTO `�s�Q` VALUES ('����������');
39
INSERT INTO `�s�R` VALUES ('�\�\�\�\�\');
40
INSERT INTO `�s�S` VALUES ('�����');
41
INSERT INTO `�s�T` VALUES ('����������');
42
INSERT INTO `�s�U` VALUES ('�\�\�\�\�\');
43
INSERT INTO `�s�V` VALUES ('�����');
44
INSERT INTO `�s�W` VALUES ('����������');
45
INSERT INTO `�s�X` VALUES ('�\�\�\�\�\');
46
INSERT INTO `�s�P�O` VALUES ('�����');
47
INSERT INTO `�s�P�P` VALUES ('����������');
48
INSERT INTO `�s�P�Q` VALUES ('�\�\�\�\�\');
50
UPDATE `�s�P` SET `�b�P` = ('�����');
51
UPDATE `�s�Q` SET `�b�P` = ('����������');
52
UPDATE `�s�R` SET `�b�P` = ('�\�\�\�\�\');
53
UPDATE `�s�S` SET `�b�P` = ('�����');
54
UPDATE `�s�T` SET `�b�P` = ('����������');
55
UPDATE `�s�U` SET `�b�P` = ('�\�\�\�\�\');
56
UPDATE `�s�V` SET `�b�P` = ('�����');
57
UPDATE `�s�W` SET `�b�P` = ('����������');
58
UPDATE `�s�X` SET `�b�P` = ('�\�\�\�\�\');
59
UPDATE `�s�P�O` SET `�b�P` = ('�����');
60
UPDATE `�s�P�P` SET `�b�P` = ('����������');
61
UPDATE `�s�P�Q` SET `�b�P` = ('�\�\�\�\�\');
79
SELECT * FROM `�s�P�O`;
80
SELECT * FROM `�s�P�P`;
81
SELECT * FROM `�s�P�Q`;