~drizzle-trunk/drizzle/development

1 by brian
clean slate
1
drop table if exists `‚s‚P`;
2
drop table if exists `‚s‚Q`;
3
drop table if exists `‚s‚R`;
4
drop table if exists `‚s‚S`;
5
drop table if exists `‚s‚T`;
6
drop table if exists `‚s‚U`;
7
drop table if exists `‚s‚V`;
8
drop table if exists `‚s‚W`;
9
drop table if exists `‚s‚X`;
10
drop table if exists `‚s‚P‚O`;
11
SET NAMES sjis;
12
SET character_set_database = sjis;
13
CREATE TABLE `‚s‚P` (`‚b‚P` char(5), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = innodb;
14
CREATE TABLE `‚s‚Q` (`‚b‚P` char(5), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = innodb;
15
CREATE TABLE `‚s‚R` (`‚b‚P` char(5), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = innodb;
16
CREATE TABLE `‚s‚S` (`‚b‚P` char(5), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = myisam;
17
CREATE TABLE `‚s‚T` (`‚b‚P` char(5), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = myisam;
18
CREATE TABLE `‚s‚U` (`‚b‚P` char(5), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = myisam;
19
CREATE TABLE `‚s‚V` (`‚b‚P` char(5), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = heap;
20
CREATE TABLE `‚s‚W` (`‚b‚P` char(5), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = heap;
21
CREATE TABLE `‚s‚X` (`‚b‚P` char(5), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = heap;
22
CREATE TABLE `‚s‚P‚O` (`‚b‚P` char(5), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = bdb;
23
CREATE TABLE `‚s‚P‚P` (`‚b‚P` char(5), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = bdb;
24
CREATE TABLE `‚s‚P‚Q` (`‚b‚P` char(5), INDEX(`‚b‚P`)) DEFAULT CHARSET = sjis engine = bdb;
25
INSERT INTO `‚s‚P` VALUES ('±²³Žµ');
26
INSERT INTO `‚s‚Q` VALUES ('‚ ‚¢‚€‚Š‚š');
27
INSERT INTO `‚s‚R` VALUES ('ƒ\\•\—\\');
28
INSERT INTO `‚s‚S` VALUES ('±²³Žµ');
29
INSERT INTO `‚s‚T` VALUES ('‚ ‚¢‚€‚Š‚š');
30
INSERT INTO `‚s‚U` VALUES ('ƒ\\•\—\\');
31
INSERT INTO `‚s‚V` VALUES ('±²³Žµ');
32
INSERT INTO `‚s‚W` VALUES ('‚ ‚¢‚€‚Š‚š');
33
INSERT INTO `‚s‚X` VALUES ('ƒ\\•\—\\');
34
INSERT INTO `‚s‚P‚O` VALUES ('±²³Žµ');
35
INSERT INTO `‚s‚P‚P` VALUES ('‚ ‚¢‚€‚Š‚š');
36
INSERT INTO `‚s‚P‚Q` VALUES ('ƒ\\•\—\\');
37
SELECT LOCATE('±',`‚b‚P`) from `‚s‚P`;
38
LOCATE('±',`‚b‚P`)
39
1
40
SELECT LOCATE('²',`‚b‚P`) from `‚s‚P`;
41
LOCATE('²',`‚b‚P`)
42
2
43
SELECT LOCATE('³',`‚b‚P`) from `‚s‚P`;
44
LOCATE('³',`‚b‚P`)
45
3
46
SELECT LOCATE('Ž',`‚b‚P`) from `‚s‚P`;
47
LOCATE('Ž',`‚b‚P`)
48
4
49
SELECT LOCATE('µ',`‚b‚P`) from `‚s‚P`;
50
LOCATE('µ',`‚b‚P`)
51
5
52
SELECT LOCATE('Ý',`‚b‚P`) from `‚s‚P`;
53
LOCATE('Ý',`‚b‚P`)
54
0
55
SELECT LOCATE('‚ ',`‚b‚P`) from `‚s‚Q`;
56
LOCATE('‚ ',`‚b‚P`)
57
1
58
SELECT LOCATE('‚¢',`‚b‚P`) from `‚s‚Q`;
59
LOCATE('‚¢',`‚b‚P`)
60
2
61
SELECT LOCATE('‚€',`‚b‚P`) from `‚s‚Q`;
62
LOCATE('‚€',`‚b‚P`)
63
3
64
SELECT LOCATE('‚Š',`‚b‚P`) from `‚s‚Q`;
65
LOCATE('‚Š',`‚b‚P`)
66
4
67
SELECT LOCATE('‚š',`‚b‚P`) from `‚s‚Q`;
68
LOCATE('‚š',`‚b‚P`)
69
5
70
SELECT LOCATE('‚ñ',`‚b‚P`) from `‚s‚Q`;
71
LOCATE('‚ñ',`‚b‚P`)
72
0
73
SELECT LOCATE('ƒ\',`‚b‚P`) from `‚s‚R`;
74
LOCATE('ƒ\',`‚b‚P`)
75
1
76
SELECT LOCATE('\',`‚b‚P`) from `‚s‚R`;
77
LOCATE('\',`‚b‚P`)
78
2
79
SELECT LOCATE('•\',`‚b‚P`) from `‚s‚R`;
80
LOCATE('•\',`‚b‚P`)
81
3
82
SELECT LOCATE('—\',`‚b‚P`) from `‚s‚R`;
83
LOCATE('—\',`‚b‚P`)
84
4
85
SELECT LOCATE('\',`‚b‚P`) from `‚s‚R`;
86
LOCATE('\',`‚b‚P`)
87
5
88
SELECT LOCATE('‰\',`‚b‚P`) from `‚s‚R`;
89
LOCATE('‰\',`‚b‚P`)
90
0
91
SELECT LOCATE('±',`‚b‚P`) from `‚s‚S`;
92
LOCATE('±',`‚b‚P`)
93
1
94
SELECT LOCATE('²',`‚b‚P`) from `‚s‚S`;
95
LOCATE('²',`‚b‚P`)
96
2
97
SELECT LOCATE('³',`‚b‚P`) from `‚s‚S`;
98
LOCATE('³',`‚b‚P`)
99
3
100
SELECT LOCATE('Ž',`‚b‚P`) from `‚s‚S`;
101
LOCATE('Ž',`‚b‚P`)
102
4
103
SELECT LOCATE('µ',`‚b‚P`) from `‚s‚S`;
104
LOCATE('µ',`‚b‚P`)
105
5
106
SELECT LOCATE('Ý',`‚b‚P`) from `‚s‚S`;
107
LOCATE('Ý',`‚b‚P`)
108
0
109
SELECT LOCATE('‚ ',`‚b‚P`) from `‚s‚T`;
110
LOCATE('‚ ',`‚b‚P`)
111
1
112
SELECT LOCATE('‚¢',`‚b‚P`) from `‚s‚T`;
113
LOCATE('‚¢',`‚b‚P`)
114
2
115
SELECT LOCATE('‚€',`‚b‚P`) from `‚s‚T`;
116
LOCATE('‚€',`‚b‚P`)
117
3
118
SELECT LOCATE('‚Š',`‚b‚P`) from `‚s‚T`;
119
LOCATE('‚Š',`‚b‚P`)
120
4
121
SELECT LOCATE('‚š',`‚b‚P`) from `‚s‚T`;
122
LOCATE('‚š',`‚b‚P`)
123
5
124
SELECT LOCATE('‚ñ',`‚b‚P`) from `‚s‚T`;
125
LOCATE('‚ñ',`‚b‚P`)
126
0
127
SELECT LOCATE('ƒ\',`‚b‚P`) from `‚s‚U`;
128
LOCATE('ƒ\',`‚b‚P`)
129
1
130
SELECT LOCATE('\',`‚b‚P`) from `‚s‚U`;
131
LOCATE('\',`‚b‚P`)
132
2
133
SELECT LOCATE('•\',`‚b‚P`) from `‚s‚U`;
134
LOCATE('•\',`‚b‚P`)
135
3
136
SELECT LOCATE('—\',`‚b‚P`) from `‚s‚U`;
137
LOCATE('—\',`‚b‚P`)
138
4
139
SELECT LOCATE('\',`‚b‚P`) from `‚s‚U`;
140
LOCATE('\',`‚b‚P`)
141
5
142
SELECT LOCATE('‰\',`‚b‚P`) from `‚s‚U`;
143
LOCATE('‰\',`‚b‚P`)
144
0
145
SELECT LOCATE('±',`‚b‚P`) from `‚s‚V`;
146
LOCATE('±',`‚b‚P`)
147
1
148
SELECT LOCATE('²',`‚b‚P`) from `‚s‚V`;
149
LOCATE('²',`‚b‚P`)
150
2
151
SELECT LOCATE('³',`‚b‚P`) from `‚s‚V`;
152
LOCATE('³',`‚b‚P`)
153
3
154
SELECT LOCATE('Ž',`‚b‚P`) from `‚s‚V`;
155
LOCATE('Ž',`‚b‚P`)
156
4
157
SELECT LOCATE('µ',`‚b‚P`) from `‚s‚V`;
158
LOCATE('µ',`‚b‚P`)
159
5
160
SELECT LOCATE('Ý',`‚b‚P`) from `‚s‚V`;
161
LOCATE('Ý',`‚b‚P`)
162
0
163
SELECT LOCATE('‚ ',`‚b‚P`) from `‚s‚W`;
164
LOCATE('‚ ',`‚b‚P`)
165
1
166
SELECT LOCATE('‚¢',`‚b‚P`) from `‚s‚W`;
167
LOCATE('‚¢',`‚b‚P`)
168
2
169
SELECT LOCATE('‚€',`‚b‚P`) from `‚s‚W`;
170
LOCATE('‚€',`‚b‚P`)
171
3
172
SELECT LOCATE('‚Š',`‚b‚P`) from `‚s‚W`;
173
LOCATE('‚Š',`‚b‚P`)
174
4
175
SELECT LOCATE('‚š',`‚b‚P`) from `‚s‚W`;
176
LOCATE('‚š',`‚b‚P`)
177
5
178
SELECT LOCATE('‚ñ',`‚b‚P`) from `‚s‚W`;
179
LOCATE('‚ñ',`‚b‚P`)
180
0
181
SELECT LOCATE('ƒ\',`‚b‚P`) from `‚s‚X`;
182
LOCATE('ƒ\',`‚b‚P`)
183
1
184
SELECT LOCATE('\',`‚b‚P`) from `‚s‚X`;
185
LOCATE('\',`‚b‚P`)
186
2
187
SELECT LOCATE('•\',`‚b‚P`) from `‚s‚X`;
188
LOCATE('•\',`‚b‚P`)
189
3
190
SELECT LOCATE('—\',`‚b‚P`) from `‚s‚X`;
191
LOCATE('—\',`‚b‚P`)
192
4
193
SELECT LOCATE('\',`‚b‚P`) from `‚s‚X`;
194
LOCATE('\',`‚b‚P`)
195
5
196
SELECT LOCATE('‰\',`‚b‚P`) from `‚s‚X`;
197
LOCATE('‰\',`‚b‚P`)
198
0
199
SELECT LOCATE('±',`‚b‚P`) from `‚s‚P‚O`;
200
LOCATE('±',`‚b‚P`)
201
1
202
SELECT LOCATE('²',`‚b‚P`) from `‚s‚P‚O`;
203
LOCATE('²',`‚b‚P`)
204
2
205
SELECT LOCATE('³',`‚b‚P`) from `‚s‚P‚O`;
206
LOCATE('³',`‚b‚P`)
207
3
208
SELECT LOCATE('Ž',`‚b‚P`) from `‚s‚P‚O`;
209
LOCATE('Ž',`‚b‚P`)
210
4
211
SELECT LOCATE('µ',`‚b‚P`) from `‚s‚P‚O`;
212
LOCATE('µ',`‚b‚P`)
213
5
214
SELECT LOCATE('Ý',`‚b‚P`) from `‚s‚P‚O`;
215
LOCATE('Ý',`‚b‚P`)
216
0
217
SELECT LOCATE('‚ ',`‚b‚P`) from `‚s‚P‚P`;
218
LOCATE('‚ ',`‚b‚P`)
219
1
220
SELECT LOCATE('‚¢',`‚b‚P`) from `‚s‚P‚P`;
221
LOCATE('‚¢',`‚b‚P`)
222
2
223
SELECT LOCATE('‚€',`‚b‚P`) from `‚s‚P‚P`;
224
LOCATE('‚€',`‚b‚P`)
225
3
226
SELECT LOCATE('‚Š',`‚b‚P`) from `‚s‚P‚P`;
227
LOCATE('‚Š',`‚b‚P`)
228
4
229
SELECT LOCATE('‚š',`‚b‚P`) from `‚s‚P‚P`;
230
LOCATE('‚š',`‚b‚P`)
231
5
232
SELECT LOCATE('‚ñ',`‚b‚P`) from `‚s‚P‚P`;
233
LOCATE('‚ñ',`‚b‚P`)
234
0
235
SELECT LOCATE('ƒ\',`‚b‚P`) from `‚s‚P‚Q`;
236
LOCATE('ƒ\',`‚b‚P`)
237
1
238
SELECT LOCATE('\',`‚b‚P`) from `‚s‚P‚Q`;
239
LOCATE('\',`‚b‚P`)
240
2
241
SELECT LOCATE('•\',`‚b‚P`) from `‚s‚P‚Q`;
242
LOCATE('•\',`‚b‚P`)
243
3
244
SELECT LOCATE('—\',`‚b‚P`) from `‚s‚P‚Q`;
245
LOCATE('—\',`‚b‚P`)
246
4
247
SELECT LOCATE('\',`‚b‚P`) from `‚s‚P‚Q`;
248
LOCATE('\',`‚b‚P`)
249
5
250
SELECT LOCATE('‰\',`‚b‚P`) from `‚s‚P‚Q`;
251
LOCATE('‰\',`‚b‚P`)
252
0
253
DROP TABLE `‚s‚P`;
254
DROP TABLE `‚s‚Q`;
255
DROP TABLE `‚s‚R`;
256
DROP TABLE `‚s‚S`;
257
DROP TABLE `‚s‚T`;
258
DROP TABLE `‚s‚U`;
259
DROP TABLE `‚s‚V`;
260
DROP TABLE `‚s‚W`;
261
DROP TABLE `‚s‚X`;
262
DROP TABLE `‚s‚P‚O`;
263
DROP TABLE `‚s‚P‚P`;
264
DROP TABLE `‚s‚P‚Q`;