~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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
--disable_warnings
DROP TABLE IF EXISTS `アアア`;
DROP TABLE IF EXISTS `イイイ`;
DROP TABLE IF EXISTS `ウウウ`;
DROP TABLE IF EXISTS `エエエ`;
DROP TABLE IF EXISTS `オオオ`;
DROP TABLE IF EXISTS `あああ`;
DROP TABLE IF EXISTS `いいい`;
DROP TABLE IF EXISTS `ううう`;
DROP TABLE IF EXISTS `えええ`;
DROP TABLE IF EXISTS `おおお`;
DROP TABLE IF EXISTS `龖龖龖`;
DROP TABLE IF EXISTS `龗龗龗`;
DROP TABLE IF EXISTS `龞龞龞`;
DROP TABLE IF EXISTS `龡龡龡`;
DROP TABLE IF EXISTS `龢龢龢`;
--enable_warnings

#
# Test creating table with Japanese characters in utf8 encoding
#

SET NAMES utf8;
SET character_set_database = utf8;

CREATE TABLE `アアア`(`カカカ` char(1)) DEFAULT CHARSET = utf8 engine=INNODB;
CREATE TABLE `イイイ`(`キキキ` char(1)) DEFAULT CHARSET = utf8 engine=INNODB;
CREATE TABLE `あああ`(`かかか` char(1)) DEFAULT CHARSET = utf8 engine=INNODB;
CREATE TABLE `いいい`(`ききき` char(1)) DEFAULT CHARSET = utf8 engine=INNODB;
CREATE TABLE `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = utf8 engine=INNODB;
CREATE TABLE `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = utf8 engine=INNODB;
# Tables should not be created because table names exist 
CREATE TABLE IF NOT EXISTS `アアア`(`カカカ` char(1)) DEFAULT CHARSET = utf8 engine=INNODB;
CREATE TABLE IF NOT EXISTS `イイイ`(`キキキ` char(1)) DEFAULT CHARSET = utf8 engine=INNODB;
CREATE TABLE IF NOT EXISTS `あああ`(`かかか` char(1)) DEFAULT CHARSET = utf8 engine=INNODB;
CREATE TABLE IF NOT EXISTS `いいい`(`ききき` char(1)) DEFAULT CHARSET = utf8 engine=INNODB;
CREATE TABLE IF NOT EXISTS `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = utf8 engine=INNODB;
CREATE TABLE IF NOT EXISTS `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = utf8 engine=INNODB;
# Tables should be created
CREATE TABLE IF NOT EXISTS `ウウウ`(`ククク` char(1)) DEFAULT CHARSET = utf8 engine=INNODB;
CREATE TABLE IF NOT EXISTS `ううう`(`くくく` char(1)) DEFAULT CHARSET = utf8 engine=INNODB;
CREATE TABLE IF NOT EXISTS `龞龞龞`(`丅丅丅`char(1)) DEFAULT CHARSET = utf8 engine=INNODB;
CREATE TEMPORARY TABLE `エエエ`(`ケケケ` char(1)) DEFAULT CHARSET = utf8 engine=INNODB;
CREATE TEMPORARY TABLE `オオオ`(`コココ` char(1)) DEFAULT CHARSET = utf8 engine=INNODB;
CREATE TEMPORARY TABLE `えええ`(`けけけ` char(1)) DEFAULT CHARSET = utf8 engine=INNODB;
CREATE TEMPORARY TABLE `おおお`(`こここ` char(1)) DEFAULT CHARSET = utf8 engine=INNODB;
CREATE TEMPORARY TABLE `龡龡龡`(`丌丌丌` char(1)) DEFAULT CHARSET = utf8 engine=INNODB;
CREATE TEMPORARY TABLE `龢龢龢`(`丒丒丒` char(1)) DEFAULT CHARSET = utf8 engine=INNODB;

DESC `アアア`; 
DESC `イイイ`;
DESC `ウウウ`;
DESC `エエエ`;
DESC `オオオ`;
DESC `あああ`;
DESC `いいい`;
DESC `ううう`;
DESC `えええ`;
DESC `おおお`;
DESC `龖龖龖`;
DESC `龗龗龗`;
DESC `龞龞龞`;
DESC `龡龡龡`;
DESC `龢龢龢`;

SHOW CREATE TABLE `アアア`;
SHOW CREATE TABLE `イイイ`;
SHOW CREATE TABLE `ウウウ`;
SHOW CREATE TABLE `エエエ`;
SHOW CREATE TABLE `オオオ`;
SHOW CREATE TABLE `あああ`;
SHOW CREATE TABLE `いいい`;
SHOW CREATE TABLE `ううう`;
SHOW CREATE TABLE `えええ`;
SHOW CREATE TABLE `おおお`;
SHOW CREATE TABLE `龖龖龖`;
SHOW CREATE TABLE `龗龗龗`;
SHOW CREATE TABLE `龞龞龞`;
SHOW CREATE TABLE `龡龡龡`;
SHOW CREATE TABLE `龢龢龢`;

DROP TABLE `アアア`;
DROP TABLE `イイイ`;
DROP TABLE `ウウウ`;
DROP TABLE `エエエ`;
DROP TABLE `オオオ`;
DROP TABLE `あああ`;
DROP TABLE `いいい`;
DROP TABLE `ううう`;
DROP TABLE `えええ`;
DROP TABLE `おおお`;
DROP TABLE `龖龖龖`;
DROP TABLE `龗龗龗`;
DROP TABLE `龞龞龞`;
DROP TABLE `龡龡龡`;
DROP TABLE `龢龢龢`;

CREATE TABLE `アアア`(`カカカ` char(1)) DEFAULT CHARSET = utf8 engine=MyISAM;
CREATE TABLE `イイイ`(`キキキ` char(1)) DEFAULT CHARSET = utf8 engine=MyISAM;
CREATE TABLE `あああ`(`かかか` char(1)) DEFAULT CHARSET = utf8 engine=MyISAM;
CREATE TABLE `いいい`(`ききき` char(1)) DEFAULT CHARSET = utf8 engine=MyISAM;
CREATE TABLE `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = utf8 engine=MyISAM;
CREATE TABLE `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = utf8 engine=MyISAM;
# Tables should not be created because table names exist
CREATE TABLE IF NOT EXISTS `アアア`(`カカカ` char(1)) DEFAULT CHARSET = utf8 engine=MyISAM;
CREATE TABLE IF NOT EXISTS `イイイ`(`キキキ` char(1)) DEFAULT CHARSET = utf8 engine=MyISAM;
CREATE TABLE IF NOT EXISTS `あああ`(`かかか` char(1)) DEFAULT CHARSET = utf8 engine=MyISAM;
CREATE TABLE IF NOT EXISTS `いいい`(`ききき` char(1)) DEFAULT CHARSET = utf8 engine=MyISAM;
CREATE TABLE IF NOT EXISTS `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = utf8 engine=MyISAM;
CREATE TABLE IF NOT EXISTS `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = utf8 engine=MyISAM;
# Tables should be created
CREATE TABLE IF NOT EXISTS `ウウウ`(`ククク` char(1)) DEFAULT CHARSET = utf8 engine=MyISAM;
CREATE TABLE IF NOT EXISTS `ううう`(`くくく` char(1)) DEFAULT CHARSET = utf8 engine=MyISAM;
CREATE TABLE IF NOT EXISTS `龞龞龞`(`丅丅丅`char(1)) DEFAULT CHARSET = utf8 engine=MyISAM;
CREATE TEMPORARY TABLE `エエエ`(`ケケケ` char(1)) DEFAULT CHARSET = utf8 engine=MyISAM;
CREATE TEMPORARY TABLE `オオオ`(`コココ` char(1)) DEFAULT CHARSET = utf8 engine=MyISAM;
CREATE TEMPORARY TABLE `えええ`(`けけけ` char(1)) DEFAULT CHARSET = utf8 engine=MyISAM;
CREATE TEMPORARY TABLE `おおお`(`こここ` char(1)) DEFAULT CHARSET = utf8 engine=MyISAM;
CREATE TEMPORARY TABLE `龡龡龡`(`丌丌丌` char(1)) DEFAULT CHARSET = utf8 engine=MyISAM;
CREATE TEMPORARY TABLE `龢龢龢`(`丒丒丒` char(1)) DEFAULT CHARSET = utf8 engine=MyISAM;

DESC `アアア`;
DESC `イイイ`;
DESC `ウウウ`;
DESC `エエエ`;
DESC `オオオ`;
DESC `あああ`;
DESC `いいい`;
DESC `ううう`;
DESC `えええ`;
DESC `おおお`;
DESC `龖龖龖`;
DESC `龗龗龗`;
DESC `龞龞龞`;
DESC `龡龡龡`;
DESC `龢龢龢`;

SHOW CREATE TABLE `アアア`;
SHOW CREATE TABLE `イイイ`;
SHOW CREATE TABLE `ウウウ`;
SHOW CREATE TABLE `エエエ`;
SHOW CREATE TABLE `オオオ`;
SHOW CREATE TABLE `あああ`;
SHOW CREATE TABLE `いいい`;
SHOW CREATE TABLE `ううう`;
SHOW CREATE TABLE `えええ`;
SHOW CREATE TABLE `おおお`;
SHOW CREATE TABLE `龖龖龖`;
SHOW CREATE TABLE `龗龗龗`;
SHOW CREATE TABLE `龞龞龞`;
SHOW CREATE TABLE `龡龡龡`;
SHOW CREATE TABLE `龢龢龢`;

DROP TABLE `アアア`;
DROP TABLE `イイイ`;
DROP TABLE `ウウウ`;
DROP TABLE `エエエ`;
DROP TABLE `オオオ`;
DROP TABLE `あああ`;
DROP TABLE `いいい`;
DROP TABLE `ううう`;
DROP TABLE `えええ`;
DROP TABLE `おおお`;
DROP TABLE `龖龖龖`;
DROP TABLE `龗龗龗`;
DROP TABLE `龞龞龞`;
DROP TABLE `龡龡龡`;
DROP TABLE `龢龢龢`;

CREATE TABLE `アアア`(`カカカ` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
CREATE TABLE `イイイ`(`キキキ` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
CREATE TABLE `あああ`(`かかか` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
CREATE TABLE `いいい`(`ききき` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
CREATE TABLE `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
CREATE TABLE `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
# Tables should not be created because table names exist
CREATE TABLE IF NOT EXISTS `アアア`(`カカカ` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
CREATE TABLE IF NOT EXISTS `イイイ`(`キキキ` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
CREATE TABLE IF NOT EXISTS `あああ`(`かかか` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
CREATE TABLE IF NOT EXISTS `いいい`(`ききき` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
CREATE TABLE IF NOT EXISTS `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
CREATE TABLE IF NOT EXISTS `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
# Tables should be created
CREATE TABLE IF NOT EXISTS `ウウウ`(`ククク` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
CREATE TABLE IF NOT EXISTS `ううう`(`くくく` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
CREATE TABLE IF NOT EXISTS `龞龞龞`(`丅丅丅`char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
CREATE TEMPORARY TABLE `エエエ`(`ケケケ` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
CREATE TEMPORARY TABLE `オオオ`(`コココ` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
CREATE TEMPORARY TABLE `えええ`(`けけけ` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
CREATE TEMPORARY TABLE `おおお`(`こここ` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
CREATE TEMPORARY TABLE `龡龡龡`(`丌丌丌` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;
CREATE TEMPORARY TABLE `龢龢龢`(`丒丒丒` char(1)) DEFAULT CHARSET = utf8 engine=HEAP;

DESC `アアア`;
DESC `イイイ`;
DESC `ウウウ`;
DESC `エエエ`;
DESC `オオオ`;
DESC `あああ`;
DESC `いいい`;
DESC `ううう`;
DESC `えええ`;
DESC `おおお`;
DESC `龖龖龖`;
DESC `龗龗龗`;
DESC `龞龞龞`;
DESC `龡龡龡`;
DESC `龢龢龢`;

SHOW CREATE TABLE `アアア`;
SHOW CREATE TABLE `イイイ`;
SHOW CREATE TABLE `ウウウ`;
SHOW CREATE TABLE `エエエ`;
SHOW CREATE TABLE `オオオ`;
SHOW CREATE TABLE `あああ`;
SHOW CREATE TABLE `いいい`;
SHOW CREATE TABLE `ううう`;
SHOW CREATE TABLE `えええ`;
SHOW CREATE TABLE `おおお`;
SHOW CREATE TABLE `龖龖龖`;
SHOW CREATE TABLE `龗龗龗`;
SHOW CREATE TABLE `龞龞龞`;
SHOW CREATE TABLE `龡龡龡`;
SHOW CREATE TABLE `龢龢龢`;

DROP TABLE `アアア`;
DROP TABLE `イイイ`;
DROP TABLE `ウウウ`;
DROP TABLE `エエエ`;
DROP TABLE `オオオ`;
DROP TABLE `あああ`;
DROP TABLE `いいい`;
DROP TABLE `ううう`;
DROP TABLE `えええ`;
DROP TABLE `おおお`;
DROP TABLE `龖龖龖`;
DROP TABLE `龗龗龗`;
DROP TABLE `龞龞龞`;
DROP TABLE `龡龡龡`;
DROP TABLE `龢龢龢`;

CREATE TABLE `アアア`(`カカカ` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
CREATE TABLE `イイイ`(`キキキ` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
CREATE TABLE `あああ`(`かかか` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
CREATE TABLE `いいい`(`ききき` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
CREATE TABLE `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
CREATE TABLE `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
# Tables should not be created because table names exist
CREATE TABLE IF NOT EXISTS `アアア`(`カカカ` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
CREATE TABLE IF NOT EXISTS `イイイ`(`キキキ` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
CREATE TABLE IF NOT EXISTS `あああ`(`かかか` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
CREATE TABLE IF NOT EXISTS `いいい`(`ききき` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
CREATE TABLE IF NOT EXISTS `龖龖龖`(`丂丂丂` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
CREATE TABLE IF NOT EXISTS `龗龗龗`(`丄丄丄` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
# Tables should be created
CREATE TABLE IF NOT EXISTS `ウウウ`(`ククク` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
CREATE TABLE IF NOT EXISTS `ううう`(`くくく` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
CREATE TABLE IF NOT EXISTS `龞龞龞`(`丅丅丅`char(1)) DEFAULT CHARSET = utf8 engine=BDB;
CREATE TEMPORARY TABLE `エエエ`(`ケケケ` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
CREATE TEMPORARY TABLE `オオオ`(`コココ` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
CREATE TEMPORARY TABLE `えええ`(`けけけ` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
CREATE TEMPORARY TABLE `おおお`(`こここ` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
CREATE TEMPORARY TABLE `龡龡龡`(`丌丌丌` char(1)) DEFAULT CHARSET = utf8 engine=BDB;
CREATE TEMPORARY TABLE `龢龢龢`(`丒丒丒` char(1)) DEFAULT CHARSET = utf8 engine=BDB;

DESC `アアア`;
DESC `イイイ`;
DESC `ウウウ`;
DESC `エエエ`;
DESC `オオオ`;
DESC `あああ`;
DESC `いいい`;
DESC `ううう`;
DESC `えええ`;
DESC `おおお`;
DESC `龖龖龖`;
DESC `龗龗龗`;
DESC `龞龞龞`;
DESC `龡龡龡`;
DESC `龢龢龢`;

SHOW CREATE TABLE `アアア`;
SHOW CREATE TABLE `イイイ`;
SHOW CREATE TABLE `ウウウ`;
SHOW CREATE TABLE `エエエ`;
SHOW CREATE TABLE `オオオ`;
SHOW CREATE TABLE `あああ`;
SHOW CREATE TABLE `いいい`;
SHOW CREATE TABLE `ううう`;
SHOW CREATE TABLE `えええ`;
SHOW CREATE TABLE `おおお`;
SHOW CREATE TABLE `龖龖龖`;
SHOW CREATE TABLE `龗龗龗`;
SHOW CREATE TABLE `龞龞龞`;
SHOW CREATE TABLE `龡龡龡`;
SHOW CREATE TABLE `龢龢龢`;

DROP TABLE `アアア`;
DROP TABLE `イイイ`;
DROP TABLE `ウウウ`;
DROP TABLE `エエエ`;
DROP TABLE `オオオ`;
DROP TABLE `あああ`;
DROP TABLE `いいい`;
DROP TABLE `ううう`;
DROP TABLE `えええ`;
DROP TABLE `おおお`;
DROP TABLE `龖龖龖`;
DROP TABLE `龗龗龗`;
DROP TABLE `龞龞龞`;
DROP TABLE `龡龡龡`;
DROP TABLE `龢龢龢`;