~drizzle-trunk/drizzle/development

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
drop table if exists `‚s‚P`;
drop table if exists `‚s‚Q`;
drop table if exists `‚s‚R`;
drop table if exists `‚s‚S`;
drop table if exists `‚s‚T`;
drop table if exists `‚s‚U`;
drop table if exists `‚s‚V`;
drop table if exists `‚s‚W`;
drop table if exists `‚s‚X`;
drop table if exists `‚s‚P‚O`;
drop table if exists `‚s‚P‚P`;
drop table if exists `‚s‚P‚Q`;
SET NAMES sjis;
SET character_set_database = sjis;
CREATE TABLE `‚s‚P` (`‚b‚P` char(20), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = innodb;
CREATE TABLE `‚s‚Q` (`‚b‚P` char(20), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = innodb;
CREATE TABLE `‚s‚R` (`‚b‚P` char(20), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = innodb;
CREATE TABLE `‚s‚S` (`‚b‚P` char(20), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `‚s‚T` (`‚b‚P` char(20), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `‚s‚U` (`‚b‚P` char(20), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `‚s‚V` (`‚b‚P` char(20), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = heap;
CREATE TABLE `‚s‚W` (`‚b‚P` char(20), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = heap;
CREATE TABLE `‚s‚X` (`‚b‚P` char(20), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = heap;
CREATE TABLE `‚s‚P‚O` (`‚b‚P` char(20), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = bdb;
CREATE TABLE `‚s‚P‚P` (`‚b‚P` char(20), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = bdb;
CREATE TABLE `‚s‚P‚Q` (`‚b‚P` char(20), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = bdb;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `‚s‚P`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `‚s‚Q`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `‚s‚R`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `‚s‚S`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `‚s‚T`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `‚s‚U`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `‚s‚V`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `‚s‚W`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `‚s‚X`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0201_sjis.dat' INTO TABLE `‚s‚P‚O`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis.dat' INTO TABLE `‚s‚P‚P`;
LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' INTO TABLE `‚s‚P‚Q`;
SELECT * FROM `‚s‚P` WHERE `‚b‚P` = '°±²³Žµ¶·ž¹º»ŒœŸ¿';
‚b‚P
°±²³Žµ¶·ž¹º»ŒœŸ¿
SELECT * FROM `‚s‚Q` WHERE `‚b‚P` = 'E‚Ÿ‚ ‚¡‚¢‚£‚€‚¥‚Š‚§‚š‚©‚ª‚«‚¬‚­‚®‚¯‚°‚±';
‚b‚P
E‚Ÿ‚ ‚¡‚¢‚£‚€‚¥‚Š‚§‚š‚©‚ª‚«‚¬‚­‚®‚¯‚°‚±
SELECT * FROM `‚s‚R` WHERE `‚b‚P` = 'ƒ\\•\—\\‰\Ž\\“\”\–\˜\‘\’\™\š\›\œ\\ž\';
‚b‚P
ƒ\\•\—\\‰\Ž\\“\”\–\˜\‘\’\™\š\›\œ\\ž\
SELECT * FROM `‚s‚S` WHERE `‚b‚P` = '°±²³Žµ¶·ž¹º»ŒœŸ¿';
‚b‚P
°±²³Žµ¶·ž¹º»ŒœŸ¿
SELECT * FROM `‚s‚T` WHERE `‚b‚P` = 'E‚Ÿ‚ ‚¡‚¢‚£‚€‚¥‚Š‚§‚š‚©‚ª‚«‚¬‚­‚®‚¯‚°‚±';
‚b‚P
E‚Ÿ‚ ‚¡‚¢‚£‚€‚¥‚Š‚§‚š‚©‚ª‚«‚¬‚­‚®‚¯‚°‚±
SELECT * FROM `‚s‚U` WHERE `‚b‚P` = 'ƒ\\•\—\\‰\Ž\\“\”\–\˜\‘\’\™\š\›\œ\\ž\';
‚b‚P
ƒ\\•\—\\‰\Ž\\“\”\–\˜\‘\’\™\š\›\œ\\ž\
SELECT * FROM `‚s‚V` WHERE `‚b‚P` = '°±²³Žµ¶·ž¹º»ŒœŸ¿';
‚b‚P
°±²³Žµ¶·ž¹º»ŒœŸ¿
SELECT * FROM `‚s‚W` WHERE `‚b‚P` = 'E‚Ÿ‚ ‚¡‚¢‚£‚€‚¥‚Š‚§‚š‚©‚ª‚«‚¬‚­‚®‚¯‚°‚±';
‚b‚P
E‚Ÿ‚ ‚¡‚¢‚£‚€‚¥‚Š‚§‚š‚©‚ª‚«‚¬‚­‚®‚¯‚°‚±
SELECT * FROM `‚s‚X` WHERE `‚b‚P` = 'ƒ\\•\—\\‰\Ž\\“\”\–\˜\‘\’\™\š\›\œ\\ž\';
‚b‚P
ƒ\\•\—\\‰\Ž\\“\”\–\˜\‘\’\™\š\›\œ\\ž\
SELECT * FROM `‚s‚P‚O` WHERE `‚b‚P` = '°±²³Žµ¶·ž¹º»ŒœŸ¿';
‚b‚P
°±²³Žµ¶·ž¹º»ŒœŸ¿
SELECT * FROM `‚s‚P‚P` WHERE `‚b‚P` = 'E‚Ÿ‚ ‚¡‚¢‚£‚€‚¥‚Š‚§‚š‚©‚ª‚«‚¬‚­‚®‚¯‚°‚±';
‚b‚P
E‚Ÿ‚ ‚¡‚¢‚£‚€‚¥‚Š‚§‚š‚©‚ª‚«‚¬‚­‚®‚¯‚°‚±
SELECT * FROM `‚s‚P‚Q` WHERE `‚b‚P` = 'ƒ\\•\—\\‰\Ž\\“\”\–\˜\‘\’\™\š\›\œ\\ž\';
‚b‚P
ƒ\\•\—\\‰\Ž\\“\”\–\˜\‘\’\™\š\›\œ\\ž\
CREATE TABLE t1(c1 char(1)) default charset = sjis engine=innodb;
CREATE TABLE t2(c1 char(1)) default charset = sjis engine=myisam;
CREATE TABLE t3(c1 char(1)) default charset = sjis engine=heap;
CREATE TABLE t4(c1 char(1)) default charset = sjis engine=bdb;
INSERT INTO t1 VALUES('“S'),('“s');
INSERT INTO t2 VALUES('“S'),('“s');
INSERT INTO t3 VALUES('“S'),('“s');
INSERT INTO t4 VALUES('“S'),('“s');
SELECT * FROM t1 WHERE c1 = '“S';
c1
“S
SELECT * FROM t2 WHERE c1 = '“S';
c1
“S
SELECT * FROM t3 WHERE c1 = '“S';
c1
“S
SELECT * FROM t4 WHERE c1 = '“S';
c1
“S
SELECT * FROM t1 WHERE c1 = '“s';
c1
“s
SELECT * FROM t2 WHERE c1 = '“s';
c1
“s
SELECT * FROM t3 WHERE c1 = '“s';
c1
“s
SELECT * FROM t4 WHERE c1 = '“s';
c1
“s
DROP TABLE `‚s‚P`;
DROP TABLE `‚s‚Q`;
DROP TABLE `‚s‚R`;
DROP TABLE `‚s‚S`;
DROP TABLE `‚s‚T`;
DROP TABLE `‚s‚U`;
DROP TABLE `‚s‚V`;
DROP TABLE `‚s‚W`;
DROP TABLE `‚s‚X`;
DROP TABLE `‚s‚P‚O`;
DROP TABLE `‚s‚P‚P`;
DROP TABLE `‚s‚P‚Q`;